Part Number Hot Search : 
SEL2410G W5NB90 PD064VX1 CA13179 1N4807 M5207 256BT STV81
Product Description
Full Text Search
 

To Download QQ8101 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 TECHNICAL MANUAL
8101/8104 Gigabit Ethernet Controller
November 2001
(R)
This document contains proprietary information of LSI Logic Corporation. The information contained herein is not to be used by or disclosed to third parties without the express written permission of an officer of LSI Logic Corporation. Document DB14-000123-04, Fourth Edition (November 2001) This document describes revision/release 1 of the LSI Logic Corporation 8101/8104 Gigabit Ethernet Controller and will remain the official reference source for all revisions/releases of this product until rescinded by an update. LSI Logic Corporation reserves the right to make changes to any products herein at any time without notice. LSI Logic does not assume any responsibility or liability arising out of the application or use of any product described herein, except as expressly agreed to in writing by LSI Logic; nor does the purchase or use of a product from LSI Logic convey a license under any patent rights, copyrights, trademark rights, or any other of the intellectual property rights of LSI Logic or third parties. Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved. Portions TRADEMARK ACKNOWLEDGMENT The LSI Logic logo design is a registered trademark of LSI Logic Corporation. All other brand and product names may be trademarks of their respective companies. IF To receive product literature, visit us at http://www.lsilogic.com. For a current list of our distributors, sales offices, and design resource centers, view our web page located at http://www.lsilogic.com/contacts/na_salesoffices.html
ii
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Preface
This book is the primary reference and technical manual for the 8101/8104 Gigabit Ethernet Controller. It contains a complete functional description and includes complete physical and electrical specifications for the 8101/8104. The 8104 is functionally the same as the 8101, except that the 8104 is in a 208-pin Ball Grid Array (BGA) package and the 8101 is in a 208-pin Plastic Quad Flat Pack (PQFP) package
Audience This document assumes that you have some familiarity with application specific integrated circuits and related support devices. The people who benefit from this book are:
* *
Engineers and managers who are evaluating the 8101/8104 Gigabit Ethernet Controller for possible use in a system Engineers who are designing the 8101/8104 Gigabit Ethernet Controller into a system
Organization This document has the following chapters:
*
Chapter 1, Introduction, describes the 8101/8104 Gigabit Ethernet Controller, its basic features and benifits. This chapter also describes the differences between the 8101 and 8104. Chapter 2, Functional Description, provides a high level description of the 8101/8104 Gigabit Ethernet Controller.
*
8101/8104 Gigabit Ethernet Controller
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
iii
*
Chapter 3, Signal Descriptions, provides a description of the signals used and generated by the 8101/8104 Gigabit Ethernet Controller. Chapter 4, Registers, provides a description of the register addresses and definitions. Chapter 5, Application Information, provides application considerations. Chapter 6, Specifications, describes the specifications of the 8101/8104 Gigabit Ethernet Controller.
* * *
Abbreviations Used in This Manual 100BASE-FX 100BASE-TX 10BASE-T 4B5B BGA CLK CRC CRS CSMA CWRD DA ECL EOF ESD FCS FDX FEF FLP FX HDX HIZ I/G IETF IPG IREF L/T LSB 100 Mbit/s Fiber Optic Ethernet 100 Mbit/s Twisted-Pair Ethernet 10 Mbit/s Twisted-Pair Ethernet 4-Bit 5-Bit Ball Grid Array Clock Cyclic Redundancy Check Carrier Sense Carrier Sense Multiple Access Codeword Destination Address Emitter-Coupled Logic End of Frame End of Stream Delimiter Frame Check Sequence Full-Duplex Far End Fault Fast Link Pulse Fiber Half-Duplex High Impedance Individual/Group Internet Engineering Task Force Interpacket Gap Reference Current Length and Type Least Significant Bit
iv
Preface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
MIB MLT3 MSB mV NLP NRZI NRZ OP PCB pF PRE R/LH R/LHI R/LL R/LLI R/LT R/LTI R/WSC RFC RJ-45 RMON SA SFD SNMP SOI Split-32 SSD STP TP H P UTP
Management Information Base Multilevel Transmission (3 levels) Most Significant Bit millivolt Normal Link Pulse Nonreturn to Zero Inverted Nonreturn to Zero Opcode Printed Circuit Board picofarad Preamble Read Latched High Read Latched High with Interrupt Read Latched Low Read Latched Low with Interrupt Read Latched Transition Read Latched Transition with Interrupt Read/Write Self Clearing Request for Comments Registered Jack-45 Remote Monitoring Start Address or Station Address Start of Frame Delimiter Simple Network Management Protocol Start of Idle Independent 32-bit input and output busses; one for transmit and one for receive Start of Stream Delimiter Shielded Twisted Pair Twisted Pair microHenry microprocessor Unshielded Twisted Pair
Conventions Used in This Manual The first time a word or phrase is defined in this manual, it is italicized.
Preface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
v
The word assert means to drive a signal true or active. The word deassert means to drive a signal false or inactive. Signals that are active LOW end in an "n." Hexadecimal numbers are indicated by the prefix "0x" --for example, 0x32CF. Binary numbers are indicated by the prefix "0b" --for example, 0b0011.0010.1100.1111.
vi
Preface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Contents
CChapter 1
Introduction 1.1 Overview 1.2 Features Functional Description 2.1 Overview 2.2 Transmit Data Path 2.3 Receive Data Path 2.4 Register Structure 2.5 Ethernet Frame Format 2.5.1 Preamble and SFD 2.5.2 Destination Address 2.5.3 Source Address 2.5.4 Length/Type Field 2.5.5 Data 2.5.6 Frame Check Sequence (FCS) 2.5.7 Interpacket Gap (IPG) 2.6 System Interface 2.6.1 Data Format and Bit Order 2.6.2 Transmit Timing 2.6.3 Receive Timing 2.6.4 Bus Width 2.6.5 System Interface Disable 2.7 Transmit MAC 2.7.1 Preamble and SFD Generation 2.7.2 AutoPad 2.7.3 CRC Generation 2.7.4 Interpacket Gap 2.7.5 MAC Control Frame Generation
1-1 1-2
Chapter 2
2-2 2-2 2-6 2-6 2-6 2-7 2-7 2-7 2-7 2-8 2-8 2-8 2-8 2-8 2-9 2-11 2-14 2-14 2-15 2-15 2-15 2-15 2-16 2-17
8101/8104 Gigabit Ethernet Controller
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
vii
2.8
2.9
2.10
2.11
2.12
2.13
Receive MAC 2.8.1 Preamble and SFD Stripping 2.8.2 CRC Stripping 2.8.3 Unicast Address Filter 2.8.4 Multicast Address Filter 2.8.5 Broadcast Address Filter 2.8.6 Reject or Accept All Packets 2.8.7 Frame Validity Checks 2.8.8 Maximum Packet Size 2.8.9 MAC Control Frame Check Transmit FIFO 2.9.1 AutoSend 2.9.2 Watermarks 2.9.3 TX Underflow 2.9.4 TX Overflow 2.9.5 Link Down FIFO Flush Receive FIFO 2.10.1 Watermarks 2.10.2 RX Overflow 2.10.3 RX Underflow 8B10B PCS 2.11.1 8B10B Encoder 2.11.2 8B10B Decoder 2.11.3 Start of Packet 2.11.4 End Of Packet 2.11.5 Idle 2.11.6 Receive Word Synchronization 2.11.7 AutoNegotiation 10-Bit PHY Interface 2.12.1 Data Format and Bit Order 2.12.2 Transmit 2.12.3 Receive 2.12.4 Lock To Reference 2.12.5 PHY Loopback 2.12.6 Signal Detect 2.12.7 TBC Disable Packet Discard 2.13.1 Transmit Discards
2-17 2-17 2-17 2-18 2-18 2-19 2-20 2-20 2-21 2-21 2-22 2-22 2-22 2-23 2-23 2-24 2-24 2-24 2-25 2-25 2-25 2-26 2-28 2-29 2-30 2-30 2-31 2-31 2-31 2-32 2-32 2-32 2-33 2-33 2-33 2-34 2-34 2-34
viii
Contents
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2.14
2.15
2.16 2.17
2.18 2.19
2.20 2.21 Chapter 3
2.13.2 Receive Discards 2.13.3 Discard Output Indication 2.13.4 AutoClear Mode 2.13.5 AutoAbort Mode Receive Status Word 2.14.1 Format 2.14.2 Append Options 2.14.3 Status Word for Discarded Packets 2.14.4 Status Word for RXABORT Packets AutoNegotiation 2.15.1 Next Page 2.15.2 Negotiation Status 2.15.3 AutoNegotiation Restart 2.15.4 AutoNegotiation Enable 2.15.5 Link Indication Flow Control MAC Control Frames 2.17.1 Automatic Pause Frame Generation 2.17.2 Transmitter Pause Disable 2.17.3 Pass Through to FIFO 2.17.4 Reserved Multicast Address Disable 2.17.5 MAC Control Frame AutoSend Reset Counters 2.19.1 Counter Half Full 2.19.2 Counter Reset On Read 2.19.3 Counter Rollover 2.19.4 Counter Maximum Packet Size 2.19.5 Counter Reset Loopback Test Modes
2-35 2-36 2-36 2-36 2-37 2-37 2-38 2-38 2-38 2-39 2-40 2-41 2-41 2-42 2-42 2-42 2-42 2-43 2-44 2-44 2-46 2-46 2-46 2-47 2-57 2-57 2-58 2-58 2-58 2-59 2-59
Signal Descriptions 3.1 System Interface Signals 3.2 10-Bit PHY Interface Signals 3.3 Register Interface Signals 3.4 Micellaneous Signals
3-3 3-7 3-8 3-9
Contents
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
ix
3.5 Chapter 4
Power Supply Signals
3-10
Registers 4.1 Register 4.1.1 4.1.2 4.1.3 4.2 Register 4.3 Register 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6 4.3.7 4.3.8 4.3.9 4.3.10 4.3.11 4.3.12 4.3.13 4.3.14 4.3.15 4.3.16 4.3.17 4.3.18 4.3.19 4.3.20 4.3.21 4.3.22 4.3.23 4.3.24 4.3.25
Interface Bit Types Interrupt Register Structure Addresses Definitions Register 0-MAC Address 1 Register 1-MAC Address 2 Register 2-MAC Address 3 Register 3-MAC Address Filter 1 Register 4-MAC Address Filter 2 Register 5-MAC Address Filter 3 Register 6-MAC Address Filter 4 Register 7-Configuration 1 Register 8-Configuration 2 Register 9-Configuration 3 Register 10-Configuration 4 Register 11-Status 1 Register 14-Status Mask 1 Register 17-Transmit FIFO Threshold Register 18-Receive FIFO Threshold Register 19-Flow Control 1 Register 20-Flow Control 2 Register 21-AutoNegotiation Base Page Transmit Register 22-AutoNegotiation Base Page Receive Register 23-AutoNegotiation Next Page Transmit Register 24-AutoNegotiation Next Page Receive Register 32-Device ID Register 112-115-Counter Half Full 1-4 Registers 120-123-Counter Half Full Mask 1-4 Registers 128-233-Counter 1-53
4-1 4-2 4-3 4-4 4-4 4-11 4-11 4-12 4-12 4-12 4-13 4-14 4-14 4-15 4-17 4-19 4-22 4-23 4-25 4-26 4-27 4-28 4-29 4-30 4-31 4-33 4-34 4-35 4-36 4-36 4-37
x
Contents
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Chapter 5
Application Information 5.1 Typical Ethernet Port 5.2 10-Bit PHY Interface 5.2.1 External Physical Layer Devices 5.2.2 Printed Circuit Board Layout 5.3 System Interface 5.3.1 Watermarks 5.3.2 PCB Layout 5.4 Reset 5.5 Loopback 5.6 AutoNegotiation 5.6.1 AutoNegotiation at Power Up 5.6.2 Negotiating with a Non-AutoNegotiation Capable Device 5.7 Management Counters 5.8 TX Packet and Octet Counters 5.9 Power Supply Decoupling Specifications 6.1 Absolute Maximum Ratings 6.2 DC Electrical Characteristics 6.3 AC Electrical Characteristics 6.4 8101/8104 Pinouts and Pin Listings 6.5 Package Mechanical Dimensions Customer Feedback
5-2 5-2 5-2 5-3 5-3 5-3 5-5 5-5 5-6 5-7 5-8 5-9 5-9 5-16 5-16
Chapter 6
6-1 6-2 6-3 6-17 6-21
Contents
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
xi
xii
Contents
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Figures 2.1 2.2 2.3 2.4 2.5 2.6 2.7 3.1 5.1 5.2 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 6.10 6.11 6.12 6.13 6.14 6.15 8101/8104 Block Diagram Ethernet MAC Frame Format Frame Formats and Bit Ordering Little Endian vs. Big Endian Format RXSOF/RXEOF Position AutoNegotiation Data Format Autogenerated Pause Frame Format 8101/8104 Interface Diagram Gigabit Ethernet Switch Port Using the 8101/8104 Decoupling Recommendations Input Clock Timing Transmit System Interface Timing Receive System Interface Timing Receive System Interface RXABORT Timing Receive System Interface RXOEn Timing System Interface RXDC/TXDC Timing Transmit 10-Bit PHY Interface Timing Receive 10-Bit PHY Interface Timing Register Interface Timing (Excluding Counter Read Cycle) Register Interface Timing, Counter Read Cycle (of the Same Counter) Register Interface Timing, Counter Read Cycle (Between Different Counters) 8101 208-Pin PQFP Pinout 8104 208-Pin BGA Pinout 208-Pin PQFP Mechanical Drawing 208 mini-BGA (HG) Mechanical Drawing 2-3 2-4 2-5 2-9 2-13 2-39 2-45 3-2 5-2 5-17 6-4 6-6 6-8 6-9 6-9 6-10 6-11 6-12 6-14 6-15 6-16 6-17 6-19 6-21 6-22
xiii
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
xiv
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Tables 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.10 2.11 2.12 2.13 2.14 2.15 4.1 4.2 4.3 5.1 5.2 5.3 5.4 5.5 5.6 5.7 5.8 6.1 6.2 6.3 6.4 6.5 6.6 Length/Type Field Definition Byte Enable Pin vs. Valid Byte Position TXRC Bit and TXCRCn Pin Logic Transmit IPG Selection Multicast Address Filter Map Receive Maximum Packet Size Selection 8B10B Coding Table 10B Defined Ordered Sets Transmit Discard Conditions Receive Discard Conditions Receive Status Word Definition AutoNegotiation Status Bits Reset Description Counter Definition Counter Maximum Packet Size Selection Register Bit Type Definition Register Addresses Register Default Values Compatible SerDes Devices Reset Procedure SerDes Loopback Procedure AutoNegotiation Power Up Procedure MIB Objects vs. Counter Location for RMON Statistics Group MIB (RFC 1757) MIB Objects vs. Counter Location for SNMP Interface Group MIB (RFC 1213 and 1573) MIB Objects vs. Counter Location for Ethernet-Like Group MIB (RFC 1643) MIB Objects vs. Counter Location For Ethernet MIB (IEEE 802.3z, Clause 30) DC Electrical Characteristics Input Clock Timing Characteristics Transmit System Interface Timing Characteristics Receive System Interface Timing Characteristics System Interface RXDC/TXDC Timing Characteristics Transmit 10-Bit PHY Interface Timing Characteristics 2-8 2-10 2-16 2-16 2-19 2-21 2-27 2-28 2-34 2-35 2-37 2-41 2-47 2-49 2-58 4-3 4-4 4-10 5-3 5-6 5-7 5-8 5-10 5-11 5-13 5-14 6-2 6-4 6-5 6-7 6-10 6-11
xv
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6.7 6.8 6.9 6.10
Receive 10-Bit PHY Interface Timing Characteristics Register Interface Timing Characteristics 8101 208-Pin PQFP Pin List (Alphabetical Listing) 8104 208-Pin BGA Pin List (Alphabetical Listing)
6-12 6-13 6-18 6-21
xvi
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Chapter 1 Introduction
This chapter contains a brief introduction to the 8101/8104 Gigabit Ethernet Controller. It consists of the following sections:
* *
Section 1.1, "Overview" Section 1.2, "Features"
1.1 Overview
The 8101/8104 Gigabit Ethernet Controller is a complete media access controller (MAC sublayer) with integrated coding logic for fiber and short haul copper media (8 bit/10 bit Physical Coding Sublayer) (8B10B PCS) for 1000 Mbits/s Gigabit Ethernet systems. The 8104 is functionally the same as the 8101 except that the 8104 is in a 208-pin Ball Grid Array (BGA) package and the 8101 is in a 208-pin Plastic Quad Flat Pack (PQFP) package The Controller consists of a 32-bit system interface, receive/transmit First In, First Out (FIFO) buffers, a full-duplex Ethernet Media Access Controller (MAC), an 8 bit/10 bit PCS, a 10-bit Physical Layer Device (PHY) interface, and a 16-bit register interface. The controller also contains all the necessary circuitry to implement the IEEE 802.3x Flow Control Algorithm. Flow control messages can be sent automatically without host intervention. The controller contains 53 counters which satisfy the management objectives of the Remote Monitoring (RMON) Statistics Group MIB, (RFC 1757), Simple Network Management Protocol (SNMP) Interfaces Group (RFC 1213 and 1573), Ethernet-Like Group MIB (RFC 1643), and Ethernet MIB (IEEE 802.3z Clause 30). The controller also contains 136
8101/8104 Gigabit Ethernet Controller
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
1-1
internal 16-bit registers that can be accessed through the register interface. These registers contain configuration inputs, status outputs, and management counter results. The 8101/8104 is ideal as an Ethernet controller for Gigabit Ethernet switch ports, uplinks, backbones, and adapter cards.
1.2 Features
The 8101/8104 provides the following features.
* * * * * * * *
Pin-compatible upgrade of 8100 Combined Ethernet MAC and 8B10B PCS 1000 Mbits/s data rate 64-bit, 66 MHz external bus interface (4 Gbits/s bandwidth) 10-bit interface to external SerDes chip 16-bit interface to internal registers and management counters Full RMON, SNMP, and Ethernet management counter support Independent receive and transmit FIFOs with programmable watermarks - - 16 Kbytes receive FIFO size 4 Kbytes transmit FIFO size
* * * * * * * * * *
AutoNegotiation algorithm on chip Full duplex only Flow control per IEEE 802.3x Automatic CRC generation and checking Automatic packet error discarding Programmable transmit start threshold Interrupt capability Support for fiber and short haul copper media 3.3 V power supply, 5 V tolerant inputs IEEE 802.3 and 802.3z specification compliant
1-2
Introduction
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Chapter 2 Functional Description
This chapter provides a high level description of the 8101/8104 Gigabit Ethernet Controller and consists of the following sections:
* * * * * * * * * * * * * * * * * * * * *
Section 2.1, "Overview" Section 2.2, "Transmit Data Path" Section 2.3, "Receive Data Path" Section 2.4, "Register Structure" Section 2.5, "Ethernet Frame Format" Section 2.6, "System Interface" Section 2.7, "Transmit MAC" Section 2.8, "Receive MAC" Section 2.9, "Transmit FIFO" Section 2.10, "Receive FIFO" Section 2.11, "8B10B PCS" Section 2.12, "10-Bit PHY Interface" Section 2.13, "Packet Discard" Section 2.14, "Receive Status Word" Section 2.15, "AutoNegotiation" Section 2.16, "Flow Control" Section 2.17, "MAC Control Frames" Section 2.18, "Reset" Section 2.19, "Counters" Section 2.20, "Loopback" Section 2.21, "Test Modes"
8101/8104 Gigabit Ethernet Controller
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-1
2.1 Overview
The 8101/8104 is a complete Media Access Controller (MAC) sublayer with integrated coding logic for fiber and short haul copper media (8B10B PCS sublayer) for 1000 Mbits/s Gigabit Ethernet systems. The controller has seven main sections:
* * * * * * *
System interface FIFOs MAC 8B10B PCS 10-bit PHY interface Register interface. Management counters
A block diagram is shown in Figure 2.1. The controller has a transmit data path and a receive data path. The transmit data path goes in the system interface and out the 10-bit PHY interface, as shown in the top half of Figure 2.1. The receive data path goes in the 10-bit PHY interface and out the system interface, as shown in the bottom half of Figure 2.1.
2.2 Transmit Data Path
Data is input to the system from an external bus. The data is then sent to the transmit FIFO. The transmit FIFO provides temporary storage of the data until it is sent to the MAC transmit section. The transmit MAC formats the data into an Ethernet packet according to IEEE 802.3 specification as shown in Figure 2.2. The transmit MAC also generates MAC control frames and includes logic for AutoNegotiation. The Ethernet frame packet is then sent to the 8B10B PCS. The 8B10B PCS encodes the data and adds appropriate framing delimiters to create 10-bit symbols as specified in IEEE 802.3 and shown in Figure 2.3. The 10-bit symbols are then sent to the 10-bit PHY interface for transmission to an external PHY device.
2-2
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Figure 2.1
RESETn SCLK TXENn TXD[31:0] TXBE[3:0] TXSOF TXEOF TXWM1n TXWM2n TXDC CLR_TXDC TXCRCn FCNTRL RXENn RXD[31:0] RXBE[3:0] RXSOF RXEOF RXWM1 RXWM2 RXDC CLR_RXDC RXABORT RXOEn
8101/8104 Block Diagram
TCLK MAC 8B10B PCS
2-3
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Transmit FIFO CRC Generator
Packet Generator
8B10B Encoder
Transmit
TX[9:0] TBC
Functional Description
MAC Control Frame Gen.
System Interface
Transmit Receive
Transmit Receive
10-Bit PHY Interface
EWRAP LCK_REFn
MAC Control Frame Check Address Filter Receive FIFO CRC Check Link Configuration EN_CDET
Receive Sync.
REGCLK REGCSn REGD[15:0] REGAD[7:0] REGRDn REGWRn REGINT
Packet Decompose Register Interface & Registers Management Counters
8B10B Decoder
RX[0:9] Receive RBC[1:0] LINKn SD
Figure 2.2
Ethernet MAC Frame Format
a. Frame Format 7 Bytes 1 Byte Preamble Start of Frame Delimiter (SFD) Destination Address (DA) Source Address (SA) Length/Type (L/T) Data Frame Check Sequence (FCS)
6 Bytes
See Below
6 Bytes 2 Bytes 46-1500 Bytes 4 Bytes
Bytes Within Frame Transmitted Top to Bottom
A0 LSB
A7 MSB Bits Within Frame Transmitted Left to Right
b. Address Field Format A0 A47 Bits in Registers 0-2
I/G U/L 40-Bit Address
1 = Multicast or Broadcast 0 = Unicast
1 = Broadcast 0 = Multicast
2-4
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Figure 2.3
Frame Formats and Bit Ordering
System Interface MAC 10-Bit PHY Interface
[5] PRE
SFD
10101010 10101010 10101010 10101010 10101010 10101010 10101010 10101011 DA [0:7] DA [8:15] DA [16:23] DA [24:31] DA [32:39] DA [40:47] SA [0:7] SA [8:15] SA [16:23] SA [24:31] SA [32:39] SA [40:47] LT [0:7] LT [8:15] DATA[0:7] DATA[8:15] DATA[16:23] DATA[24:31]
DA TXD[0] RXD[0] SOF [3] TXD[31] RXD[31] DA[16:23] SA[0:7] SA[32:39] DATA[0:7] DA[24:31] SA[8:15] SA[40:47] DATA[7:15]
/I2/ /I2/ /S/ D21.2 D21.2 D21.2 D21.2 D21.2 D21.2 D21.6
[7]
DA[0:7] DA[8:15] DA[32:39] DA[40:47] SA[16:23] SA[24:31] LT[0:7] LT[8:16] DATA[16:23] DATA[24:31]
SA
L/T FCS[31:24] FCS[23:16] FCS[7:0] INVALID STATUS WORD [1] MSB
EOF [2]
FCS[15:8] LSB
DATA
[6] FCS
FCS[31:24] FCS[23:16] FCS[15:8] FCS[7:0]
/T/ /R/ /R/ /I1/ or /I2/ /I2/ /I2/
Notes: [1] Status word on receive only is programmable [2] EOF position is programmable [3] Little endian format (default) [4] Second /R/ added only if transmit packet ends on odd number of bytes [5] XMT preamble appended Receive preamble stripped [6] XMT CRC not appended Receive CRC not stripped [7] < > Means 10B encoded [8] /I1/ or /I2/, depends on running disparity
[4] [8]
PCS 8B
ABCDEFGH LSB Bytes Transmitted MSB
abcdefghij TX[0] RX[0]
PCS 10B TX[9] 10-Bit RX[9] PHY Interface
Bits Transmitted
Transmit Data Path
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-5
2.3 Receive Data Path
The 10-bit PHY interface receives incoming encoded data from an external PHY device. The incoming encoded data must be encoded in the 10-bit PHY format specified in IEEE 802.3z, as shown in Figure 2.3. The incoming encoded data is then sent to the receive 8B10B PCS block, which strips off the framing delimiters, decodes the data, and converts the encoded data into an Ethernet packet according to the IEEE 802.3 specifications, as shown in Figure 2.2. The Ethernet packet data is then sent to the receive MAC section. The receive MAC section disassembles the packet, checks the validity of the packet against certain error criteria and address filters, and checks for MAC control frames. The receive MAC then sends valid packets to the receive FIFO. The receive FIFO provides temporary storage of data until it is demanded by the system interface. The system interface outputs the data to an external bus.
2.4 Register Structure
The controller has 136 internal 16-bit registers. 22 registers are available for setting configuration inputs and reading status outputs. The remaining 114 registers are associated with the management counters. The register interface is a separate internal register bidirectional 16 bit data bus to set configuration inputs, read status outputs, and access management counters. The location of all registers is described in the Register Addressing Table in Section 4.2, "Register Addresses". The description of each bit for each register is described in Section 4.3.1 through Section 4.3.25.
2.5 Ethernet Frame Format
Information in an Ethernet network is transmitted and received in packets or frames. The basic function of the controller is to process Ethernet frames. An Ethernet frame is defined in IEEE 802.3 and consists of a preamble, start of frame delimiter (SFD), destination address (DA),
2-6
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
source address (SA), length/type field (L/T), data, frame check sequence (FCS), and interpacket gap (IPG). The format for the Ethernet frame is shown in Figure 2.2. An Ethernet frame is specified by IEEE 802.3 to have a minimum length of 64 bytes and a maximum length of 1518 bytes, exclusive of the preamble and SFD. Packets that are less than 64 bytes or greater than 1518 bytes are referred to as undersize and oversize packets, respectively.
2.5.1 Preamble and SFD
The preamble and SFD is a combined 64-bit field consisting of 62 alternating ones and zeros followed by a 0b11 end of preamble indicator. The first 56-bits of ones and zeros are considered to be the preamble, and the last 8 bits (0b10101011) are considered to be the SFD.
2.5.2 Destination Address
The destination address is a 48-bit field containing the address of the station(s) to which the frame is directed. The format of the address field is the same as defined in IEEE 802.3 and shown in Figure 2.2 b. The destination address can be either a unicast address to a specific station, a multicast address to a group of stations, or a broadcast address to all stations. The first and second bits determine whether an address is unicast, multicast or broadcast, and the remaining 46 bits are the actual address bits, as shown in Figure 2.2 b.
2.5.3 Source Address
The source address is a 48-bit field containing the specific station address from which the frame originated. The format of the address field is the same as defined in IEEE 802.3 and shown in Figure 2.2 b.
2.5.4 Length/Type Field
The 16-bit length/type field takes on the meaning of either packet length or packet type, depending on its numeric value, as described in Table 2.1.
Ethernet Frame Format
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-7
Table 2.1
Length/Type Field Value (Decimal) 0-1500 1501-1517 1518
Length/Type Field Definition
Length or Type Length Neither Type
Definition Total number of bytes in data field minus any padding Undefined Frame type
2.5.5 Data
The data is a 46-1500 byte field containing the actual data to be transmitted between two stations. If the actual data is less than 46 bytes, extra zeros are added to increase the data field to the 46 byte minimum size. Adding these extra zeros is referred to as padding.
2.5.6 Frame Check Sequence (FCS)
The FCS is a 32-bit cyclic redundancy check (CRC) value computed on the entire frame, exclusive of preamble and SFD. The FCS algorithm is defined in IEEE 802.3. The FCS is appended to the end of the frame and determines frame validity.
2.5.7 Interpacket Gap (IPG)
The IPG is the time interval between packets. The minimum IPG value is 96 bits, where 1 bit = 1 ns for Gigabit Ethernet. There is no maximum IPG limit.
2.6 System Interface
The system interface is a 64-bit wide data interface consisting of separate 32-bit data busses for transmit and receive.
2.6.1 Data Format and Bit Order
The format of the data word on TXD[31:0] and RXD[31:0] and its relationship to the MAC frame format and 10-bit PHY interface format is
2-8
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
shown in Figure 2.3. Note that the controller can be programmed to append an additional 32-bit status word to the end of the receive packet. Refer to Section 2.14, "Receive Status Word," for more details on this status word. To program the byte ordering of the TXD and RXD data bits, set the endian bit in "Register 10-Configuration 4" Section 4.3.11. The byte order shown in Figure 2.4 is with the little endian format mode (default). If the controller is placed in big endian format, the byte order shown in Figure 2.4 is reversed, DA[0:7] occurs on pins RXD[24:31], DA[24:31] occurs on pins RXD[0:7]and so on. The endian bit affects all bytes in the frame including the receive status word (if appended). The difference between little endian and big endian format is illustrated in Figure 2.4. Figure 2.4 Little Endian vs. Big Endian Format
TXD[8] . . . TXD[15] RXD[8] . . . RXD[15] Little Endian (Default) TXD[0] . . . TXD[7] RXD[0] . . . RXD[7] TXD[24] . . . TXD[31] RXD[2]4 . . . RXD[31] TXD[8] . . . TXD[15] RXD[8] . . . RXD[15] TXD[16] . . . RXD[16] . . .
TXD[16] . . . TXD[23] RXD[16] . . . RXD[23]
TXD[0] . . . TXD[7] RXD[0] . . . RXD[7]
Preamble
DA0 . .. . . DA7
DA8 . . . . DA15
DA16 . . . DA23
DA24 . . . DA31
DA32 . . . DA39
DA40 . . . DA47
Source Address
Big Endian
TXD[24] . . . TXD[31] RXD[24] . . . RXD[31]
TXD[8] . . . TXD[15] RXD[8] . . . RXD[15]
TXD[24] . . . TXD[31] RXD[24] . . . RXD[31]
TXD[15] . . . RXD[15]] . . .
TXD[16]. . . TXD[23] RXD[16] . . . RXD[23]
TXD[0] . . . TXD[7] RXD[0] . . . RXD[7]
TXD[16] . . . TXD[23] RXD[16] . . . RXD[23]
2.6.2 Transmit Timing
The transmit portion of the system interface consists of 45 signals: 32 transmit data input bits (TXD[31:0]), one transmit enable (TXENn), four transmit byte enable inputs (TXBE[3:0]), two transmit start of frame and end of frame inputs (TXSOF and TXEOF), two transmit FIFO watermark outputs (TXWM1n and TXWM2n), one transmit discard output (TXDC), one transmit discard clear input (CLR_TXDC), one transmit CRC enable input (TXCRCn), and one flow control enable input (FCNTRL). All receive and transmit data is clocked in and out on the rising edge of the system clock, SCLK. SCLK must operate between 33-66 MHz. The SCLK input needs to be continuously input to the controller at 33-66 MHz. When TXENn is deasserted, the transmit interface is not selected and subsequently, the controller accepts no input data from the
System Interface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-9
transmit system interface inputs. When TXENn is asserted, a data word on the TXD[31:0] input is clocked into the transmit FIFO on each rising edge of the SCLK clock input. Multiple packets may be clocked in on one TXENn assertion. The TXD[31:0] input data is a 32-bit wide packet data whose format and relationship to the MAC packet and 10-bit PHY data is described in Figure 2.3. The TXBE[3:0] pins determine which bytes of the 32-bit TXD[31:0] data word contain valid data. TXBE[3:0] are clocked in on the rising edge of SCLK along with each TXD[31:0] data word. The correspondence between the byte enable inputs and the valid bytes of each data word on TXD[31:0] is defined in Table 2.2. Any logic combination of TXBE[3:0] inputs is allowed, with the one exception that TXBE[3:0] must not be 0b0000 on the SCLK cycle when TXSOF or TXEOF is asserted. Table 2.2 Byte Enable Pin vs. Valid Byte Position
Valid Bytes on TXD[31:0]/RXD[31:0] Pins TXD[31:24]/RXD[31:24] TXD[23:16]/RXD[23:16] TXD[15:8]/RXD[15:8] TXD[7:0]/RXD[7:0]
TXBE[3:0]/RXBE[3:0] Byte Enable Pins TXBE[3]/RXBE[3] Asserted TXBE[2]/RXBE[2] Asserted TXBE[1]/RXBE[1] Asserted TXBE[0]/RXBE[0] Asserted
The TXSOF and TXEOF signals indicate to the controller which data words start and end the Ethernet data packet, respectively. These signals are input on the same SCLK rising edge as the first and last word of the data packet. The TXWM1n and TXWM2n signals indicate when the transmit FIFO has exceeded the programmable watermark thresholds. The controller asserts the watermarks on the rising edge of SCLK, depending on the fullness of the transmit FIFO. Refer to Section 2.9, "Transmit FIFO," for more details on these watermarks.
2-10
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
TXDC is a transmit packet discard output. TXDC is asserted every time the transmission of the packet being input on the system interface was halted and the packet discarded due to some error. This signal is latched HIGH. It is cleared when the clearing signal, CLR_TXDC, is asserted or cleared automatically if the controller is placed in the AutoClear mode. See Section 2.13, "Packet Discard," for more details on discards and TXDC. TXCRCn is an input that can enable the internal generation and appending of the 4-byte CRC value onto the end of the data packet. TXCRCn is sampled on the rising edge of SCLK and has to be asserted at the beginning of the packet, coincident with TXSOF, to remove or add the CRC to that packet. Setting the transmit CRC enable bit (TXCRC) in the Configuration 1 register also enables CRC generation. Refer to Section 2.7.3, "CRC Generation" for more details on CRC generation and the interaction between TXCRCn and the TXCRC bit. FCNTRL is an input that causes the automatic generation and transmission of a MAC control pause frame. FCNTRL is input on the rising edge of SCLK. See Section 2.17, "MAC Control Frames," for more details about this feature.
2.6.3 Receive Timing
The receive portion of the system interface consists of 45 signals:
* * * * * * * * *
32 receive output data bits (RXD[31:0]) One receive enable input (RXENn) Four receive byte enable outputs (RXBE[3:0]) One receive start of frame and one end of frame outputs (RXSOF and RXEOF) Two receive FIFO watermark outputs (RXWM1 and RXWM2) One receive discard output (RXDC) One receive discard clear input (CLR_RXDC) One receive packet abort input (RXABORT) One receive output enable (RXOEn)
All receive and transmit data is clocked in and out with the system clock, SCLK, which must operate between 33-66 MHz.
System Interface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-11
The SCLK input must continuously operate at 33-66 MHz. When RXENn is deasserted, the receive interface is not selected and, subsequently, no data from the receive FIFO can be output over the system interface. If the receive watermarks RXWM1 and RXWM2 are asserted while RXENn is deasserted, the next data word from the receive FIFO appears on the RXD[31:0] outputs until RXENn is asserted. When RXENn is asserted, a data word from the receive FIFO is clocked out onto the RXD[31:0] outputs after each rising edge of the SCLK input. After the entire packet has been clocked out, no more data is clocked out on RXD[31:0] until RXENn is deasserted and reasserted, which allows extra dribble SCLK clock cycles to occur after the end of the packet. RXD[31:0] output data is a 32-bit wide packet data whose format and relationship to the MAC packet and 10-bit PHY data is described in Figure 2.3. The RXBE[3:0] signals determine which bytes of the 32-bit RXD[31:0] data word contain valid data. RXBE[3:0] are clocked out on the rising edge of SCLK along with each RXD[31:0] data word. Note that RXBE[3:0] = 0b1111 for all words of the packet except the last word, which may end on any one of the 4-byte boundaries of the 32-bit data word. The correspondence between the byte enable inputs and the valid data bytes of each data word on RXD[31:0] is defined in Table 2.2. The RXSOF and RXEOF signals indicate which words start and end the Ethernet data packet, respectively. These signals are generally clocked out on the same SCLK rising edge as the first and last word of the data packet, respectively. However, their exact position relative to the data packet is dependent on the programming of the PEOF bit and STSWRD[1:0] bits in Register 7, "Configuration 1". The exact RXSOF and RXEOF position for combinations of these two bits is shown in Figure 2.5. More details about the definition of these bits can be found in "Register 7-Configuration 1" Section 4.3.8, and more details about the status word can be found in Section 2.14, "Receive Status Word,".
2-12
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Figure 2.5
RXSOF/RXEOF Position
RX FIFO Data 00X First Data Word SOF RXSOF/RXEOF Position Bits 7.2 - 7.0 (STSWRD [1:0], PEOF) 010 SOF 011 SOF 100 SOF 101 SOF R e s e r v e d 11X
Packet Data
Last Data Word Status Word Discard Status Word
EOF [1] [1]
EOF EOF [1] [1] EOF SOF, EOF
EOF SOF, EOF
Note: [1] Status words do not exist with this bit combination
The RXWM1 and RXWM2 signals indicate when the receive FIFO has exceeded the programmable watermark thresholds. The watermarks are asserted or deasserted on the rising edge of SCLK, depending on the fullness of the receive FIFO. Refer to Section 2.10, "Receive FIFO," for more details on these watermarks. RXDC is asserted every time a received packet being output over the system interface is halted and the packet discarded due to some error. This signal is latched HIGH and can be cleared by either asserting the clearing signal, CLR_RXDC, or cleared automatically if the controller is placed in the AutoClear mode. See Section 2.13, "Packet Discard," section for more details on discards and RXDC. The RXABORT input, when asserted, discards the current packet being output on the system interface. When RXABORT is asserted, a packet is discarded and the remaining contents of that packet in the receive FIFO are flushed. The process of flushing a receive packet from the receive FIFO with the RXABORT pin requires extra SCLK cycles equal to (packet length in bytes)/8 + 6. Refer to Section 2.13, "Packet Discard," for more information about discarded packets. Clearing the discard RXABORT enable bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller to ignore the RXABORT signal. Setting the
System Interface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-13
RXABORT definition bit in "Register 9-Configuration 3" Section 4.3.10, also programs the controller to discard either the data packet and its status word or just the data packet exclusive of the status word. The RXOEn signal, when asserted, places certain receive outputs in the high-impedance state. RXOEn affects the RXD[31:0], RXBE[3:0], RXSOF, and RXEOF output pins.
2.6.4 Bus Width
Setting the BUSSIZE bit in "Register 10-Configuration 4" Section 4.3.11, changes the receive word width from 32-bits to 16-bits. When the bus width is configured to 16-bits, the receive system interface data outputs appear on RXD[15:0] and the data words are now 16-bits wide instead of 32-bits wide. Note: The transmit word width can be adjusted by appropriately setting the transmit byte enable inputs, TXBE[3:0], as described in Table 2.2.
2.6.5 System Interface Disable
To disable the system interface, set the SINTF_DIS bit in "Register 9- Configuration 3" Section 4.3.10. When the system interface is disabled, the controller:
*
Places all system interface outputs in the high-impedance state (TXWMn[1:2], TXDC, RXD[31:0], RXBE[3:0], RXSOF, RXEOF, RXWM1/2, RXDC) Ignores all inputs (SCLK, TXENn, TXD[31:0], TXBE[3:0], TXSOF, TXEOF, CLR_TXDC, FCNTRL, TXCRCn, RXENn, RXOEn, CLR_RXDC, RXABORT) Transmits /C/ (see Table 2.8) ordered sets with the remote fault bits RF[1:0] = 0b10 over the 10-bit PHY interface outputs
*
*
2-14
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2.7 Transmit MAC
To generate an Ethernet MAC frame from the transmit FIFO, the transmit MAC section:
* * * *
Generates preamble and SFD Pads undersize packets with zeros to meet minimum packet size requirements Calculates and appends a CRC value to the packet Maintains a minimum interpacket gap
Each of the above four operations can be individually disabled and altered if desired. The transmit MAC then sends the fully formed Ethernet packet to the 8B10B PCS block for encoding. The transmit MAC section also generates MAC control frames.
2.7.1 Preamble and SFD Generation
The transmit MAC normally appends the preamble and SFD to the packet. To program the controller to not append the preamble and SFD to the transmit packet, clear the TXPRMBL bit in "Register 7- Configuration 1" Section 4.3.8.
2.7.2 AutoPad
The transmit MAC normally AutoPads packets. AutoPadding is the process of automatically adding enough zeroes in packets with data fields less than 46 bytes to make the data field exactly 46 bytes in length which meets the 46-byte minimum data field requirement of IEEE 802.3. To program the controller to not AutoPad, clear the APAD bit in "Register 7-Configuration 1" Section 4.3.8.
2.7.3 CRC Generation
The transmit MAC normally appends the CRC value to the packet. To program the controller to not append the CRC value to the end of the packet from the transmit FIFO, assert the TXCRCn pin or clear the TXCRC bit in Register 7 "Configuration 1", as described in Table 2.3 and as described in "Register 7-Configuration 1" Section 4.3.8.
Transmit MAC
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-15
Table 2.3
TXCRC Bit1 1 1 0 0
TXRC Bit and TXCRCn Pin Logic
TXCRCn2 Pin 1 0 1 0 CRC Appended to End of Packet? Yes Yes No Yes
1. 1 = Append, 0 = No append 2. 1 = No append, 0 = Append
2.7.4 Interpacket Gap
If packets from the transmit FIFO arrive at the transmit MAC sooner than the minimum IPG time the transmit MAC adds enough time between packets to equal the minimum IPG value. The default IPG time is set to 96 bits (1 bit = 1 ns).To program other values, set the transmit IPG select bits IPG[2:0] in "Register 7-Configuration 1" Section 4.3.8, as summarized in Table 2.4. Table 2.4
IPG[2:0] Bits 111 110 101 100 011 010 001 000
Transmit IPG Selection
IPG Value (ns) 96 112 80 64 192 384 768 32 2 x IEEE minimum specification 4 x IEEE minimum specification 8 x IEEE minimum specification
Comments IEEE minimum specification
2-16
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2.7.5 MAC Control Frame Generation
The transmit MAC can automatically generate and transmit MAC control pause frames, which are used for flow control. This function is described in more detail in Section 2.17, "MAC Control Frames".
2.8 Receive MAC
The receive MAC section performs the following operations to disassemble Ethernet packets received from the receive 8B10B PCS section:
* * * * *
Strips off the preamble and SFD Strips off the CRC Checks the destination address against the address filters to determine packet validity Checks frame validity against the discard conditions Checks the length/type field for MAC control frames
Each of the above operations can be individually disabled and altered, if desired. The receive MAC then sends valid packets to the receive FIFO for storage.
2.8.1 Preamble and SFD Stripping
The transmit MAC normally strips the preamble and SFD from the receive packet. To program the controller to not strip the preamble and SFD set the RXPRMBL bit in "Register 7-Configuration 1" Section 4.3.8. When this bit is set, the preamble and SFD are left in the receive packet and are stored in the receive FIFO as a part of the packet.
2.8.2 CRC Stripping
The receive MAC normally strips the FCS from the receive packet. To program the controller to not strip the FCS field, set the RXCRC bit in "Register 7-Configuration 1" Section 4.3.8. When this bit is set the last four bytes of the packet containing the CRC value are left in the receive packet and are stored in the receive FIFO as part of the packet.
Receive MAC
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-17
2.8.3 Unicast Address Filter
Comparing the destination address of the receive packet against the 48-bit value stored in the three MAC Address registers (registers 0, 1 and 2) filters unicast packets. When the destination address of a unicast packet matches the value stored in these registers the unicast packet is deemed valid and passed to the receive FIFO; otherwise, the packet is rejected. The correspondence between the bits in the MAC Address registers and the incoming bits in the destination address of the receive packet is defined in the MAC Address register definitions. To program the controller to always reject unicast packets, set the REJUCST bit in "Register 8-Configuration 2" Section 4.3.9. When this bit is set all unicast packets are rejected regardless of their address. Unicast packet address filtering functions do not affect the reception of MAC control frames. Other bits described in Section 2.17, "MAC Control Frames," control the reception of MAC control frames.
2.8.4 Multicast Address Filter
The multicast address filter function computes the CRC on the incoming Destination Address and produces a 6-bit number that is compared against the 64 values stored in the MAC Address Filter 1-4 registers (Registers 3, 4, 5, and 6). When the multicast packet destination address passes the address filter, the packet is deemed valid and passed to the receive FIFO; otherwise, the packet is rejected. The multicast address filter requires 64 address filter bits to be written into the Address Filter 1-4 registers. The multicast address filtering algorithm is as follows: 1. Compute a separate 32-bit CRC on the destination address field using the same IEEE 802.3 defined method that computes the transmit CRC. 2. Use bits [0:2] of the destination address FCS to select one of the bytes in the 64-bit address filter, as shown in Table 2.5. 3. Use bits [3:5] of the destination address FCS to select one of the bits within the byte selected in (2), as shown in Table 2.5.
2-18
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4. If the bit selected in (3) is a "one" the destination address passes the filter; otherwise, the address fails the filter and the packet is rejected and discarded. Note: If all 64 bits of the address filter are programmed to all ones, the address filter passes all multicast addresses. Multicast Address Filter Map
Address Filter Byte2 F0[7:0] F1[7:0] F2[7:0] F3[7:0] F4[7:0] F5[7:0] F6[7:0] F7[7:0] FCS Bits [3:5]1 000 001 010 011 100 101 110 111 Address Filter Bit3 Fx[0] Fx[1] Fx[2] Fx[3] Fx[4] Fx[5] Fx[6] Fx[7]
Table 2.5
FCS Bits [0:2]1 000 001 010 011 100 101 110 111
1. Bits 0-5 are the six least-significant bits of the CRC. 2. F[7:0] are bytes in Address Filter 1-4 Registers. 3. Fx[7:0] are bits within each byte in Address Filter 1-4 Registers.
Setting the REJMCST bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller to reject all multicast packets regardless of their address. When this bit is set all multicast packets are rejected regardless of their address. Multicast packet address filtering functions do not affect the reception of MAC control frames. Other bits described in Section 2.17, "MAC Control Frames," control the reception of MAC control frames.
2.8.5 Broadcast Address Filter
The controller does not do any filtering on broadcast packets. To program the controller to reject all broadcast packets, set the REJBCST bit in "Register 8-Configuration 2" Section 4.3.9. When this bit is set all broadcast packets are rejected regardless of their address.
Receive MAC
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-19
Broadcast address filtering functions do not affect the reception of MAC control frames. Other bits described in Section 2.17, "MAC Control Frames," control the reception of MAC control frames.
2.8.6 Reject or Accept All Packets
Setting the ACPTAL or REJALL bits in "Register 8-Configuration 2" Section 4.3.9, programs the controller to accept or reject all packets regardless of type or whether the packet passes the address filter. These bits do not affect the reception of MAC control frames. Other bits described in Section 2.17, "MAC Control Frames," control the reception of MAC control frames.
2.8.7 Frame Validity Checks
The receive MAC checks the following to determine the validity of each receive packet:
* * *
Valid FCS Oversize packet Undersize packet
Computing the CRC value on the incoming receive packet according to IEEE 802.3 specifications and comparing it against the actual CRC value in the FCS field of the received packet determines the validity of the FCS. If the values are not the same, the frame is determined to be invalid and the packet is discarded. Refer to Section 2.13, "Packet Discard" for more information about discards. Clearing the DIS_CRC error bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller not to discard a packet with a bad FCS. Oversize packets are packets whose length is greater than the maximum packet size. If a received packet is an oversize packet, then the packet is determined to be invalid and is discarded. Refer to Section 2.13, "Packet Discard" for more information about discards. Clearing the DIS_OSIZE bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller not to discard an oversize packet and allow packets of unlimited length.
2-20
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Undersize packets are packets whose length is less than the minimum packet size. Minimum packet size is defined to be 64 bytes, exclusive of preamble and SFD. If a received packet is an undersize packet, the frame is determined to be invalid and is discarded. Refer to Section 2.13, "Packet Discard" for more information about discards. Clearing the DIS_USIZE bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller not to discard an undersize packet.
2.8.8 Maximum Packet Size
The maximum packet size used for receive MAC frame validity checking is programmed to be one of four values, 1518, 1522, 1535 or unlimited bytes. Setting the RMXPKT[1:0] receive MAC maximum packet size select bits in "Register 9-Configuration 3" Section 4.3.10, and the DIS_OSIZE bit in "Register 8-Configuration 2" Section 4.3.9, as shown in Table 2.6. programs the controller to discard packets that exceed the maximum packet size selected. This selection is also described in the register descriptions for those registers. The bits shown in Table 2.6 affect the receive MAC section only; the maximum packet size for the management counters is described in Section 2.19, "Counters". Table 2.6 Receive Maximum Packet Size Selection
Register 9 RMXPKT [1:0] Bits xx1 0b10 0b01 0b00 Maximum Packet Size (Bytes) unlimited 1535 1522 1518
Register 8 DIS_OSIZE Bit 0b0 0b1 0b1 0b1 1. xx = Don't Care
2.8.9 MAC Control Frame Check
The length/type field is checked to detect whether the packet is a valid MAC control frame. Refer to Section 2.17, "MAC Control Frames" for more details on MAC control frames.
Receive MAC
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-21
2.9 Transmit FIFO
The transmit FIFO acts as a temporary buffer between the system interface and transmit MAC section. The transmit FIFO size is 4 Kbytes. Data is clocked into the transmit FIFO with the 33-66 MHz system interface clock, SCLK. Data is automatically clocked out of the transmit FIFO with the 125 MHz 8B10B PCS clock whenever a full packet has been loaded into the FIFO (an EOF is written into the FIFO on the system interface), or the FIFO data exceeds the transmit FIFO AutoSend threshold. There are two programmable watermark outputs, TXWM1n and TXWM2n, which aid in managing the data flow into the transmit FIFO.
2.9.1 AutoSend
The AutoSend feature causes a packet in the transmit FIFO to be automatically transmitted when data in the transmit FIFO exceeds a certain threshold. The transmit AutoSend threshold is programmable over the lower 2 Kbytes of the transmit FIFO. The AutoSend threshold can be programmed with the six TASND[5:0] bits that reside in the Transmit FIFO Threshold register. Whenever the data in the FIFO exceeds this threshold, the packet is automatically transmitted to the 8B10B PCS section and out the 10-bit PHY interface. A packet is also automatically transmitted if an EOF is written into the transmit FIFO for that packet, regardless of the AutoSend threshold setting. All of the bit settings for the transmit AutoSend threshold are evenly distributed over the lower half of the transmit FIFO range, except for the 0b000000 setting. The 0b000000 setting automatically starts transmission when the transmit FIFO is full, thus facilitating the transmission of oversize packets. Refer to "Register 17-Transmit FIFO Threshold" Section 4.3.14, description for more details on the AutoSend (TASND[5:0]) bit settings.
2.9.2 Watermarks
There are two transmit watermarks for the transmit FIFO which are output on the TXWM1n and TXWM2n pins. These watermarks are asserted when the transmit FIFO data exceeds the thresholds associated with the watermarks.
2-22
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
The transmit watermark thresholds for TXWM1n and TXWM2n can be programmed over the entire 4 Kbyte FIFO range. Each of the watermark thresholds is independently programmed with five bits that reside in the Transmit FIFO Threshold register. Whenever the data in the FIFO exceeds the threshold of either watermark, the respective watermark pin on TXWM1n or TXWM2n is asserted LOW. The watermark signals stay asserted until the data in the FIFO goes below the respective thresholds.
2.9.3 TX Underflow
The transmit FIFO underflow condition occurs when the TX FIFO is empty but the MAC is still requesting data to complete the transmission of a packet. If the transmit FIFO underflows:
* * *
Packet transmission to the 8B10B PCS is halted A /V/ code (see Table 2.8) is appended to the end of the partially transmitted packet Any new data for the partially transmitted packet is discarded
Refer to Section 2.13, "Packet Discard" for more information about discards.
2.9.4 TX Overflow
The transmit FIFO overflow condition occurs when the TX FIFO is full but additional data is still being written into it from the system interface. If the transmit FIFO overflows:
* *
The input to the TX FIFO is blocked and does not accept any more data from the system interface until the TX FIFO space is freed up The data already stored in the TX FIFO for the partially loaded last packet is transmitted with a /V/ code (see Table 2.8) appended to the end of the packet to indicate an error Any new data for the partially loaded last packet is discarded
*
Refer to Section 2.13, "Packet Discard" for more information about discards.
Transmit FIFO
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-23
2.9.5 Link Down FIFO Flush
When the link is down (also referred to as link fail) and defined by either receiver has lost sync or AutoNegotiation process has not yet completed, the transmitter at the 10-bit PHY interface is occupied with sending either idle or AutoNegotiation codes (/I/ or /C/ see Table 2.8). As a result, data cannot exit the transmit FIFO to the transmit MAC section. If data continues to be input to the transmit FIFO from the system interface while the controller is in the link fail mode the transmit FIFO may overflow. Enabling the link down FIFO flush feature causes the data exiting the transmit FIFO to be automatically discarded when the controller is in the link fail mode, thus preventing any possible overflow of the transmit FIFO. Setting the Link Down FIFO Flush Enable bit (LNKDN) in "Register 10-Configuration 4" Section 4.3.11, enables the link down FIFO flush mode.
2.10 Receive FIFO
The receive FIFO acts as a temporary buffer between the receive MAC section and system interface. The receive FIFO size is 16 Kbytes. Data is clocked into the receive FIFO with the 125 MHz 8B10B PCS clock. Data is clocked out of the receive FIFO with the 33-66 MHz system interface clock, SCLK. There are two programmable watermark outputs, RXWM1 and RXWM2, which aid in managing the data flow out of the receive FIFO.
2.10.1 Watermarks
There are two watermarks for the receive FIFO. which are output on the RXWM1 and RXWM2 pins. These watermarks are asserted when the receive FIFO data exceeds the thresholds associated with the watermarks. The receive watermark thresholds for RXWM1 and RXWM2 can be programmed over the entire 16 Kbyte receive FIFO range. Each of the watermark thresholds is independently programmed with eight bits that reside in the Receive FIFO Threshold register. Whenever the data in the FIFO exceeds the threshold of either watermark, the respective watermark pin on either RXWM1 or RXWM2 is asserted HIGH. RXWM2 is also asserted if a complete packet is loaded into the receive FIFO from
2-24
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
the 8B10B PCS section. The watermarks stay asserted until the data in the FIFO goes below the respective thresholds, and RXWM2 also stays asserted until all end of packets (EOF) have been read out of the receive FIFO. After the EOFs have been read out of the receive FIFO, the watermarks cannot go active again until RXENn is deasserted.
2.10.2 RX Overflow
The receive FIFO overflow condition occurs when the receive RX FIFO is full and additional data is still being written into it from the MAC. If the receive FIFO overflows:
* * *
The input to the RX FIFO is blocked and does not accept any more data from the 8B10B PCS until RX FIFO space is freed up The data already stored in the RX FIFO for the partially loaded last packet is normally discarded Any new data for the partially loaded last packet is also normally discarded
Refer to Section 2.13, "Packet Discard" for more information about discards. Clearing the DIS_OVF bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller to not discard a packet corrupted by overflow.
2.10.3 RX Underflow
The receive FIFO underflow condition occurs when the system interface is attempting to read data out of the RX FIFO when it is empty. If the RX FIFO underflows, any data read out of the RX FIFO while the underflow condition persists is invalid, and any new data for the partially loaded last packet is stored in the RX FIFO and is not discarded.
2.11 8B10B PCS
The 8B10B PCS has a transmit section and a receive section. The transmit 8B10B PCS section accepts Ethernet formatted packet data from the transmit MAC and:
* *
Encodes the data with the 8B10B encoder Adds the start of packet delimiter
8B10B PCS
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-25
* * *
Adds the end of packet delimiter Adds the idle code stream Formats the packet according to the 10B PHY format defined in IEEE 802.3z and shown in Figure 2.3
The 8B10B encoded data stream is then sent to the transmit 10-bit PHY interface for transmission. The transmit 8B10B PCS section also generates the AutoNegotiation code stream when the controller is in the AutoNegotiation process. The receive 8B10B PCS section takes the 8B10B encoded packet data from the incoming 10-bit PHY interface and:
* * * * * *
Acquires and maintains word synchronization Strips off the start of packet delimiter Strips off the end of packet delimiter Strips off the idle code stream Decodes the data with the 8B10B decoder Converts the packet to the Ethernet packet format shown in Figure 2.2
The Ethernet packet is then sent to the receive MAC for processing. The receive 8B10B PCS section also decodes the AutoNegotiation code stream when the controller is in the AutoNegotiation process.
2.11.1 8B10B Encoder
The 8B10B encoder converts each data byte of a packet into a unique 10-bit word as defined in IEEE 802.3z and shown in Table 2.7 (in abbreviated form).
2-26
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 2.7
8B10B Coding Table
8B Bytes 10B Codes CurrentRD- abcdei fghj 100111 0100 011101 0100 101101 0100 110001 1011 . . . 001110 1110 101110 0001 011110 0001 101011 0001 CurrentRD+ abcdei fghj 011000 1011 100010 1011 010010 1011 110001 0100 . . . 001110 0001 010001 1110 100001 1110 010100 1110
Data Byte Name D0.0 D1.0 D2.0 D3.0 . . . D28.7 D29.7 D30.7 D31.7
Bits HGFEDCBA 000 00000 000 00001 000 00010 000 00011 . . . 111 11100 111 11101 111 11110 111 11111
The encoder also converts the start of packet delimiter, end of packet delimiter, idle code streams, and AutoNegotiation code streams into unique 10B code words. These unique 10B code words are referred to as ordered sets. Table 2.8 describes the ordered sets defined and used by IEEE 802.3z. The 8B10B encoder also keeps the running disparity of the outgoing 10B word as close as possible to zero. Running disparity is the difference between the number of ones and zeros transmitted on the outgoing bit stream. The algorithm for calculating running disparity is defined in 802.3z. After each 10B word is transmitted, the running disparity is recalculated. If the current running disparity is negative, the next 10B word is chosen from the "Current RD-" column in Table 2.7 (in abbreviated form). If the current running disparity is positive, the next 10B word is chosen from the "Current RD+" column in Table 2.7.
8B10B PCS
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-27
2.11.2 8B10B Decoder
The 8B10B decoder performs the reverse process of the 8B10B encoder. The 8B10B decoder converts each 10-bit word back into an 8-bit byte using the code conversion tables defined in IEEE 802.3z and shown in Table 2.7 (in abbreviated form) and Table 2.8. The 8B10B decoder also checks the running disparity of the incoming 10B word to insure that it is correct. A PCS codeword error results if the 8B10B decoder detects any of the following:
* * *
A 10B word that is not valid (does not appear in Table 2.7) An ordered set that is not valid (does not appear in Table 2.8) An error in the running disparity
Packets with PCS codeword errors are normally discarded. Refer to Section 2.13, "Packet Discard" for more details on discards. Clearing the DIS_CWRD bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller to not discard a packet with PCS codeword errors. Table 2.8
10B Code Symbol /C1/
10B Defined Ordered Sets
Begin RD + or End RD flip2
Description Link Configuration 1
10B Codes /K28.5/1 /D21.5/ config_word1 config_word2 /K28.5/1 /D2.2/ config_word1 config_word2 Alternating /C1/ & /C2/ /K28.5/ /D5.6/ /K28.5/ /D16.2/ /I1/ or /I2/
/C2/
Link Configuration 2
+ or -
same2
/C/ /I1/ /I2/ /I/
Link Configuration Idle 1 Idle 2 Idle
- + - -
- - - -
2-28
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 2.8
10B Code Symbol /S/ /T/ /R/ /V/
10B Defined Ordered Sets (Cont.)
Begin RD + or - + or - + or - + or - End RD same same same same
Description Start of packet delimiter (SPD) End of packet delimiter (EPD) Error (void)
10B Codes /K27.7/ /K29.7/ /K23.7/ /K30.7/
1. config_word 1/2 contain the 16-Bit AutoNegotiation data word. See the AutoNegotiation section for details. 2. RD determined on the /K/ and /D/ characters only, not the config_word.
2.11.3 Start of Packet
A unique start of packet delimiter (SPD) indicates the start of a packet. The SPD consists of a single /S/ code inserted at the beginning of the packet in place of the first preamble octet, as defined in the IEEE 802.3z and shown in Figure 2.3. The /S/ code is defined in Table 2.8. The transmit 8B10B PCS section inserts an /S/ code at the beginning of each transmit packet in place of the first 10B word of the preamble. The receive 8B10B PCS section constantly monitors the incoming 10B bitstream. If an /S/ code is detected, the start of packet indication is given to the receive MAC, and a preamble octet is substituted in place of the /S/ code at the beginning of the packet. If the 8B10B PCS receiver detects the transition from the idle pattern (/I/ code stream) to nonidle pattern without an intervening /S/ code, the packet is assumed to have a bad SPD. Packets with a bad SPD are normally discarded as codeword errors. Refer to Section 2.13, "Packet Discard" for more information about discards. Clearing the DIS_CWRD bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller to not discard packets with PCS codeword errors.
8B10B PCS
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-29
2.11.4 End Of Packet
The End of Packet Delimiter, referred to as EPD indicates the end of a packet. The EPD consists of two codes, /T/ and /R/, inserted at the end of the packet, as defined in IEEE 802.3z and shown in Table 2.8, and also shown in Figure 2.3. To maintain synchronization on the proper word boundaries, an outgoing packet must also have an even number of 10-bit words transmitted. If the packet has an odd number of 10-bit words transmitted after the /T/R/ codes, an extra /R/ code is inserted after the /T/R/ (now a /T/R/R/) to meet the even word requirement, as defined in IEEE 802.3z and shown in Figure 2.3. The transmit 8B10B PCS section appends either the /T/R/ or /T/R/R/ codes to the end of each transmit packet. The receive 8B10B PCS section constantly monitors the incoming 10B bitstream. If the /T/R/ codes are detected, the end of packet indication is given to the receive MAC, and the /T/R/ or /T/R/R/ codes are stripped from the end of the packet. If the 8B10B PCS receiver detects the transition from the nonidle pattern to an idle pattern (/I/ code stream) without intervening /T/R/ codes, the packet is assumed to have a bad EPD. Packets with a bad EPD are discarded if the controller is so programmed. Refer to Section 2.13, "Packet Discard" for more details on discards. Clearing the DIS_CWRD bit in "Register 8-Configuration 2" Section 4.3.9, programs the controller to not discard packets with PCS errors.
2.11.5 Idle
The interpacket gap time is filled with a continuous stream of codes referred to as the idle pattern. The idle pattern consists of a continuous stream of /I2/ codes, as defined in IEEE 802.3z and shown in Figure 2.3. The running disparity during idle is defined to be negative. So, if the running disparity after the last /R/ code of a packet is positive, a single /I1/ code must be transmitted as the first idle code to make the running disparity negative. All subsequent idle codes must be /I2/, as defined in IEEE 802.3z and shown in Figure 2.3. The /I1/ and /I2/ codes are defined in Table 2.8. The transmit 8B10B PCS section inserts a continuous stream of /I1/I2/I2/I2/...or /I2/I2/I2/I2/...codes between packets.
2-30
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
The receive 8B10B PCS section constantly monitors the incoming 10B bitstream. If an /I2/ or /I1/ code is detected, an end of packet indication is given to the receive MAC and the /I1/ and /I2/ codes are stripped from the packet.
2.11.6 Receive Word Synchronization
In order to correctly decode the incoming encoded data, the 8B10B PCS receiver must identify the word boundaries of the incoming data stream. The process of detecting these word boundaries is referred to as word synchronization. The receiver uses a state machine compatible with the algorithm defined in IEEE 802.3z to acquire and maintain word synchronization. The comma code is used to acquire and maintain receive word synchronization, as specified by IEEE 802.3z. The comma code consists of a unique 7-bit pattern that only appears in the defined ordered sets shown in Table 2.8, and the comma code does not appear in the normal data words or across data word boundaries. When the 8B10B PCS receiver has lost word synchronization, the EN_CDET pin is asserted to signal the external PHY device. Reading the RSYNC bit in "Register 11-Status 1" Section 4.3.12, also determines word synchronization.
2.11.7 AutoNegotiation
The AutoNegiotation algorithm uses the /C/ ordered sets, as defined in Table 2.8, to configure the link for correct operation. Refer to Section 2.15, "AutoNegotiation" for more details on this process.
2.12 10-Bit PHY Interface
The 10-bit PHY interface is a standardized interface between the 8B10B PCS section and an external physical layer device. The 10-bit PHY interface meets all the requirements outlined in IEEE 802.3z. The controller can directly connect, without any external logic, to any physical layer device that also complies with the IEEE 802.3z 10-bit interface specifications. The 10-bit PHY interface frame format is defined in IEEE 802.3z and shown in Figure 2.3.
10-Bit PHY Interface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-31
The 10-bit PHY interface consists of 26 signals as follows:
* * * * * * *
Ten bit transmit data output bits (TX[9:0]) Transmit clock output (TBC) Ten bit receive data input bits (RX[9:0]) Two receive clock inputs (RBC0 and RBC1) Comma detect enable output (EN_CDET) Loopback output (EWRAP) Receiver lock output (LCK_REFn)
2.12.1 Data Format and Bit Order
The format and bit order of the data word on TX[9:0] and RX[9:0] and its relationship to the MAC frame and the system interface data words is shown in Figure 2.3. Note that Figure 2.3 assumes the controller is in Little Endian format (default). If the controller is in Big Endian format, the byte order of the system interface data word is reversed. See Section 2.6, "System Interface" for more details.
2.12.2 Transmit
On the transmit side, the TBC output clock is generated from the TCLK input clock and runs continuously at 125 MHz. Data on TX[9:0] is clocked out of the controller on the rising edge of the TBC clock output.
2.12.3 Receive
On the receive side, RX[9:0] data is clocked in on rising edges of the RBC[1:0] input clocks. RBC1 and RBC0 are required to be at a frequency of 62.5 MHz and be 180 out of phase. The data on RX[9:0] is clocked in at an effective 125 MHz using alternate rising edges of the RBC[1:0] clocks to latch in the data on RX[9:0]. The incoming data on RX[9:0] is also required to be word aligned to the RBC1 clock, (the words that contain comma codes must be clocked in with the RBC1 clock, as specified in IEEE 802.3z).
2-32
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
The comma detect output, EN_CDET, is asserted when the receiver in the 8B10B PCS section has lost word synchronization.Setting the CDET bit in "Register 9-Configuration 3" Section 4.3.10, also asserts EN_CDET. The EN_CDET output can be used to enable the bit synchronization process in an external physical layer device. The controller does not have a pin designated for the standardized comma detect input, COM_DET, because the receive 8B10B PCS section has all the necessary logic to acquire word synchronization from the contents of the receive data stream alone.
2.12.4 Lock To Reference
Setting the LCKREFn bit in "Register 9-Configuration 3" Section 4.3.10, exclusively controls the LCK_REFn output. This output is typically used to enable the PLL locking process in an external physical layer device.
2.12.5 PHY Loopback
Setting the EWRAP bit in "Register 9-Configuration 3" Section 4.3.10, exclusively controls the EWRAP output. This output is typically used to enable a loopback function in an external physical layer device. When the EWRAP pin is asserted, the signal detect input pin, SD, from an external physical layer device may be in an unknown state. To counteract this, the SD_EN bit in Register 9 "Configuration 3" should also be cleared when the EWRAP assert bit is set.
2.12.6 Signal Detect
There is an additional signal detect input pin, SD, which indicates to the controller that the receive data detected on RXD[9:0] contains valid data. If SD is asserted, the input data is assumed valid and the receive 8B10B PCS section is unaffected. If SD is deasserted, the data is assumed to be invalid and the receive 8B10B PCS section is forced into the loss of sync state. Although SD is not part of the IEEE-defined 10-bit PHY interface, it is typically sourced from an external physical layer device. The controller powers up with the SD pin disabled (SD has no affect on the receive word synchronization state machine). To enable the SD pin, the SD_EN bit must be set in "Register 9-Configuration 3" Section 4.3.10.
10-Bit PHY Interface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-33
There is also a SD status bit in "Register 11-Status 1" Section 4.3.12, which reflects the state of the SD input pin. If the SD pin is HIGH the SD bit is forced to 1; if the SD pin is LOW the SD bit is also forced to 0.
2.12.7 TBC Disable
The transmit side of the 10-bit PHY interface can be disabled if the TBC_DIS bit is set in "Register 10-Configuration 4" Section 4.3.11. When this bit is set, the TBC and TX[9:0] outputs are placed in a high-impedance state.
2.13 Packet Discard
The controller can be programmed to discard receive and transmit packets when certain error conditions are detected. The detection of these error conditions can occur in the MAC, FIFO, or 8B10B PCS sections.
2.13.1 Transmit Discards
Transmit packets are automatically discarded if certain error conditions are detected. These error conditions are described in Table 2.9. When a discard error is detected for a transmit packet, any remaining data for that packet being input from the system interface is ignored, a /V/ code is appended to the end of the packet to indicate an error to a remote station, and TXDC is asserted if the packet was being input from the system interface when the discard occurred. Table 2.9 Transmit Discard Conditions
Description TX FIFO empty. Packet transmission to 8B10B PCS halted. Partially transmitted packet is terminated with a /V/ code, followed by normal /I/ codes. TX FIFO full. No more data accepted from the system interface. Partially transmitted packet is terminated with a /V/ code, followed by normal /I/ codes.
Discard Condition Transmit FIFO Underflow
Transmit FIFO Overflow
2-34
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2.13.2 Receive Discards
Receive packets can be discarded if the error conditions listed in Table 2.10 are detected. The discard behavior is dependent on whether or not the packet is being output on the system interface when the discard condition is detected. If the packet containing the error is not being output on the system interface when the discard condition is detected (an internal discard) the packet is discarded, (all data from the packet containing the error is flushed from the receive FIFO). If the packet containing the error is being output on the system interface when the discard condition is detected (an external discard) the RXDC pin is asserted to indicate the error condition. Asserting the RXABORT pin or setting the AUTORXAB bit in "Register 9-Configuration 3" Section 4.3.10, automatically discards the packet. For both internal and external discarded packets, the appended status word is updated to reflect the discard error condition. Table 2.10 Receive Discard Conditions
Description Receive FIFO full. No more data accepted from the 8B10B PCS. Receive packet has a CRC error. Receive packet is less than 64 bytes, exclusive of preamble and SFD. Receive packet is greater than maximum packet size, exclusive of preamble and SFD. Receive packet contains at least one word with an 8B10BPCS coding error.
Discard Condition Receive FIFO overflow CRC error Undersize packet Oversize packet PCS codeword error
RXABORT pin asserted RXABORT pin was asserted while the receive packet was read out on the system interface. The process of flushing a receive packet with RXABORT pin requires extra SCLK cycles equal to: (packet length in bytes)/8 + 6.
Each of the receive discard conditions can be individually removed as a discard condition by appropriately clearing the appropriate discard bit in "Register 8-Configuration 2" Section 4.3.9, associated with the corresponding condition. When these bits are cleared, a packet that is afflicted with the error condition indicated by that bit is not discarded.
Packet Discard
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-35
The controller can be programmed to send status words for discarded packets to the receive FIFO. See Section 2.14, "Receive Status Word" for more details on status word configuration. Note: Receive FIFO underflow is not listed as a discard condition in Table 2.10, (packets are not discarded when corrupted by receive FIFO underflow). However, receive FIFO underflow does cause the assertion of RXDC.
2.13.3 Discard Output Indication
When a discard condition is detected on a packet being received or transmitted over the system interface, the TXDC and RXDC output pins are asserted to indicate that the discard error was detected. TXDC and RXDC are normally latched HIGH when a discard takes place. Asserting CLR_TXDC and CLR_RXDC clearing pins, clears the TXDC and RXDC outputs.
2.13.4 AutoClear Mode
Programming the controller to be in the AutoClear mode automatically self clears the TXDC and RXDC pins. To program the controller for the AutoClear mode, set the AUTOCLR bit in "Register 9-Configuration 3" Section 4.3.10. When the controller is in the AutoClear mode, TXDC and RXDC are automatically cleared three SCLK cycles after the next end of packet occurs.
2.13.5 AutoAbort Mode
When the AutoAbort mode is enabled the controller can also automatically abort the current packet on the system interface in the receive FIFO when a discard condition is detected and RXDC is asserted. Set the AUTORXAB bit in "Register 9-Configuration 3" Section 4.3.10, to enable the AutoAbort mode.
2-36
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2.14 Receive Status Word
A 32-bit status word can be appended to the end of each good receive data packet and stored in the receive FIFO. This status word contains a byte count and error information for the receive data packet.
2.14.1 Format
The format for the status word is shown in Table 2.11. The upper sixteen bits contain the actual byte count for the packet and the lower sixteen bits contain the status information related to the packet. Note that the endian select bit affects the byte order of the status word in the same way that it affects the normal data byte order on the system interface. The byte count value in the status word (upper sixteen bits) is the total number of actual bytes in the received packet minus the preamble, SFD, and CRC bytes. The byte count is independent of whether the receive MAC has stripped the preamble or CRC. If the packet overflows the receive FIFO, the byte count stops counting at the moment that the receive FIFO overflow has been detected and the remaining bytes on the incoming packet are not counted.
Table 2.11
RXD31
Receive Status Word Definition
RXD16 BC[15:0]
RXD15 RESERVED MPKT CWRD OSIZE USIZE OVFL
RXD0 CRC
Symbol BC[15:0] - MPKT
Name Byte count - Multiple packet reject Codeword error
Definition Contains actual byte count of the receive packet Reserved 1 = RX FIFO full and multiple consecutive packets were discarded. Status word indicates error condition for first packet of discarded group. 1 = Receive packet has PCS coding error
Position on RXD[31:0]1 RXD[31:16] RXD[15:6] RXD5
CWRD
RXD4
Receive Status Word
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-37
Symbol OSIZE USIZE OVFL CRC
Name Oversize packet
Definition
Position on RXD[31:0]1
1 = Receive packet is greater than maximum size RXD3 RXD2 RXD1 RXD0
Undersize packet 1 = Receive packet is less than minimum size Receive FIFO overflow CRC error 1 = Receive FIFO is full and has received additional data 1 = Receive packet has a CRC error
1. This byte order is for little endian format. Big endian format reverses this byte order.
2.14.2 Append Options
The status word is normally appended to the end of all good receive packets. However, the controller can also be programmed to store a status word in the receive FIFO for discarded packets as well as append a status word to the end of good (nondiscarded) packets. The controller can also be programmed to not append any status word at all. Setting the STSWRD [1:0] bits in "Register 7-Configuration 1" Section 4.3.8, select the appropriate status word option.
2.14.3 Status Word for Discarded Packets
When the controller is programmed to add a status word for discarded packets, only the status word is stored in the receive FIFO for each discarded packet. The status word for a discarded packet contains an indication of the error that caused the discard. If the receive FIFO is full and more than one consecutive packet was discarded, then one more status word is stored in the receive FIFO for the next consecutive group of discarded packets. A bit is set in the status word indicating that multiple status words or multiple packets have been discarded. When a status word has the multiple discard bit set, the other status bits reflect the status of the second discarded packet only.
2.14.4 Status Word for RXABORT Packets
When the RXABORT pin is asserted, both the packet data and its associated status word are normally flushed from the receive FIFO. Setting the RXAB_DEF bit in "Register 9-Configuration 3" Section 4.3.10, programs the controller to allow the RXABORT pin to discard the packet only and leave the status word for the discarded packet in the receive FIFO.
2-38
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2.15 AutoNegotiation
The AutoNegotiation algorithm is a negotiation sequence between two stations over the 10-bit PHY interface that establishes a good link between two stations, and configures both stations for the same mode of operation. The AutoNegotiation algorithm in the controller meets all specifications defined in IEEE 802.3z. AutoNegotiation uses a stream of /C/ ordered sets to pass an AutoNegotiation data word to and from a remote station. The /C/ ordered set stream consists of an alternating sequence of /C1/ and /C2/ ordered sets. The /C1/ and /C2/ ordered sets contain two unique 10B code words plus a 16-bit AutoNegotiation data word, as defined in IEEE 802.3z and shown in Figure 2.6. Figure 2.6
C2 K28.5 C1 D21.5 K28.5 C2 D2.2 C1 ABCDEFGH abcdefghij TX[0] RX[0] TX[9] RX[9] PCS 8B Codes PCS 10B Codes TX PHY. INT. RX PHY. INT. From Registers 21 - 22 From Registers 21 - 22
AutoNegotiation Data Format
Note: < > Means 10B Encoded
AutoNegotiation
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-39
Any of the following conditions iniatiate the AutoNegotiation algorithm:
* * * *
Controller reset AutoNegotiation restart bit set /C/ ordered sets received from remote end Controller reacquires receive word synchronization
After a negotiation has been initiated the controller uses the contents of "Register 21-AutoNegotiation Base Page Transmit" Section 4.3.18, to advise a remote device of its capabilities. The remote device does the same, and the capabilities read back from the remote device are stored in the AutoNegotiation Base Page Receive register. The controller's capabilities can then be externally compared to the capabilities received from the remote device, and the device can then be configured for a compatible mode of operation. The controller also has next page capability. For a complete description of the AutoNegotiation algorithm in the controller, refer to IEEE 802.3z specification, clause 37. If the 8B10B PCS receiver has lost word synchronization, the controller needs to acquire synchronization before AutoNegotiation words can be successfully received. While it is in the loss of synchronization state, the transmitter outputs /C/ ordered sets with the remote fault bits set to RF[1:0] = 0b01 to indicate the link failure condition to the remote end. After the 8B10B PCS receiver has acquired word synchronization, the negotiation process is ready to begin.
2.15.1 Next Page
The controller also has the next page capability defined in IEEE 802.3z. The next page feature allows the transfer of additional 16-bit data words between stations during a negotiation sequence in addition to the original base page message information. These additional 16-bit data words are referred to as next pages and can contain any arbitrary data. If a next page is to be transmitted, the NP bit must be set in "Register 21-AutoNegotiation Base Page Transmit" Section 4.3.18, to indicate this to the remote station. Conversely, if a remote station wants to send a next page to the controller, it sets the NP bit in the base page, which is stored in "Register 22-AutoNegotiation Base Page Receive" Section 4.3.19. The next pages to be transmitted to the remote station have to be written into "Register 23-AutoNegotiation Next Page
2-40
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Transmit" Section 4.3.20, in order to be transmitted. The next pages received from the remote station are stored in "Register 24- AutoNegotiation Next Page Receive" Section 4.3.21. Both stations must have the next page functionality for a successful next page transfer. Next page operation is complicated; refer to IEEE 802.3z for a full description of how this feature works and to Chapter 4, Registers for a description of the associated registers. There are status bits related to next page operation. See Section 2.15.2, "Negotiation Status" for details.
2.15.2 Negotiation Status
There are bits in "Register 11-Status 1" Section 4.3.12, that indicate the status of AutoNegotiation. These bits are summarized in Table 2.12 and are described in more detail in the Status 1 register description. Some of the bits related to AutoNegotiation can be programmed to cause an interrupt, as described in the Status 1 register description. Table 2.12
Register 11 Bit No. 11 7 6 5 4 3
AutoNegotiation Status Bits
Bit Name LINK AN_NP AN_TX_NP AN_RX_NP AN_RX_BP AN_RMTRST
What Bit Indicates Link is up, autoNegotiation has completed One TX and one RX next page has been exchanged One next page has been transmitted One next page has been received Base page has been received AutoNegotiation was restarted by remote station
2.15.3 AutoNegotiation Restart
Setting the ANRST bit in "Register 7-Configuration 1" Section 4.3.8, restarts the AutoNegotiation algorithm. The ANRST bit clears itself automatically after the AutoNegotiation process starts transmitting /C/ ordered sets.
AutoNegotiation
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-41
2.15.4 AutoNegotiation Enable
Setting the AN_EN bit in "Register 9-Configuration 3" Section 4.3.10, enables the AutoNegotiation algorithm. When AutoNegotiation is disabled the transmitter will output /I/ ordered sets.
2.15.5 Link Indication
The successful completion of the AutoNegotiation process (and by definition the receiver has also acquired word synchronization) is indicated by asserting the LINKn pin LOW, and setting the LINK bit in "Register 11-Status 1" Section 4.3.12. The LINK output pin can drive an LED from VCC or GND as well as drive another digital input.
2.16 Flow Control
Flow control causes a remote station to temporarily halt sending packets in order to prevent packet loss in a congested system. The controller uses MAC control frames for flow control, according to IEEE 802.3x specifications. Refer to Section 2.17, "MAC Control Frames" for more details on the MAC control frame flow control scheme.
2.17 MAC Control Frames
MAC control frames are packets that pass signaling information between stations and are specified in IEEE 802.3, Clause 31. MAC control frames are used primarily for flow control. MAC control frames are differentiated from other packets because they have the unique value of 0x8808 in the length/type field. MAC control frames have the same format as normal Ethernet packets, except the data field, consists of an opcode field and a parameter field. The opcode field contains an opcode command and the parameter field contains a value associated with the opcode command. The only opcode command defined to date by IEEE 802.3x is the pause opcode; the parameter field for the pause opcode defines the pause time. MAC control frames with the pause opcode, referred to as pause frames, are only allowed to have a destination address equal to a specific reserved multicast address or the address of the receive station itself. The value of the reserved multicast address is 0x0180C2000001.
2-42
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
The controller normally treats MAC control frames according to the IEEE 802.3, clause 31 algorithm. When the receive MAC detects a MAC control frame with a pause opcode and the destination address equals the reserved multicast address or address stored in the MAC Address 1-3 registers, then the transmitter is paused for a time equal to the number of pause times specified in the parameter field. Each unit of pause time equals 512 bits (512 ns for Gigabit Ethernet). If a pause frame is received while another packet is being transmitted, the transmission is completed for the current packet being transmitted, and then the transmitter is paused. If there are other packets in the transmit FIFO their transmission is delayed until the pause timer has expired. MAC control frames are not normally passed into the receive FIFO; they are terminated in the receive MAC. The controller has also incorporated some additional features to facilitate MAC control frame operation. These features are described in the following sections.
2.17.1 Automatic Pause Frame Generation
Pause frames can be automatically generated when either the FCNTRL pin is asserted or the receive FIFO data exceeds the MAC control AutoSend threshold. These automatically generated pause frames, referred to as autogenerated pause frames, are internally generated and transmitted over the 10-bit PHY interface. The reception of a receive pause frame does not affect the transmission of autogenerated pause frames. Receive pause frames only inhibit the transmission of regular packets from the transmit FIFO. If a packet transmission is in progress when an autogenerated pause frame is to be transmitted, the controller waits until the transmission of that packet has completed and then transmits the autogenerated pause frame before any other subsequent packets in the TX FIFO are transmitted. When the first autogenerated pause frame begins transmission, an internal timer starts whose value is equal to the pause_time value in the pause frame (and obtained from "Register 20- Flow Control 2" Section 4.3.17). If the FCNTRL pin is still asserted or the MAC control frame AutoSend threshold is still exceeded when the internal pause timer expires, another autogenerated pause frame is transmitted. This process continues as long as FCNTRL remains asserted or the MAC control frame AutoSend threshold is exceeded.
MAC Control Frames
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-43
When FCNTRL is deasserted and the MAC control AutoSend threshold is not exceeded, one last autogenerated pause frame of pause_time = 0 is transmitted. To compensate for latency, the internal pause timer internally shortens itself by 32 units from the value programmed in "Register 20-Flow Control 2" Section 4.3.17. Clearing the MCENDPS bit in "Register 19-Flow Control 1" Section 4.3.16 programs the controller to eliminate the last autogenerated pause frame with a pause_time = 0. The structure of the autogenerated pause frame is described in Figure 2.7. Note: The source address and pause_time parameter fields are programmable through internal registers as shown in Figure 2.7.
The FCNTRL pin and the MAC control AutoSend threshold can be individually disabled, (they can be programmed to no longer initiate the transmission of autogenerated pause frames). The FCNTRL pin is enabled by default. Setting the FCNTRL_DIS bit in "Register 9- Configuration 3" Section 4.3.10, disables the FCNTRL pin. The MAC control AutoSend is disabled by default. Appropriately setting the MAC control MCASND[3:0] bits in "Register 19-Flow Control 1" Section 4.3.16, enables the MAC control AutoSend.
2.17.2 Transmitter Pause Disable
Receive pause frames normally pause the transmitter. Clearing the MCNTRL bit in "Register 19-Flow Control 1" Section 4.3.16, programs the controller to not pause the transmitter. When the MCNTRL bit is 0 received pause frames do not affect the transmitter.
2.17.3 Pass Through to FIFO
Receive pause frames are normally discarded and not passed to the receive FIFO. Appropriately setting the MCPASS[1:0] bits in "Register 19-Flow Control 1" Section 4.3.16, allows the receive pause frames to be passed to the receive FIFO. These bits allow either all MAC control frames, nonpause frames only, or pause frames only to be passed to the receive FIFO.
2-44
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Figure 2.7
Autogenerated Pause Frame Format
MAC 10-Bit PHY Interface
PRE
SFD
DA
10101010 10101010 10101010 10101010 10101010 10101010 10101010 10101011 10000000 00000001 01000011 00000000 00000000 10000000 A[0:7]REG2 A[8:15]REG2 A[16:23]REG1 A[24:31]REG1 A[32:39]REG0 A[40:47]REG0 00010001 00010000 00000000 10000000 P[8:15]REG20 P[0:7]REG20 00000000
/I2/ /I2/ /S/ D21.2 D21.2 D21.2 D21.2 D21.2 D21.2 D21.6 D1.0 D0.4 D2.6 D0.0 D0.0 D1.0 [1] D8.4 D8.0 D0.0 D1.0 D0.0
SA
L/T OP PARAM DATA PAD (42 Bytes)
00000000 FCS FCS[31:24] FCS[23:16] FCS[15:8] FCS[7:0]
D0.0 /T/ /R/ /I1/ or /I2/ /I2/ /I2/
PCS 8B
LSB MSB ABCDEFGH
[2]
Bytes Transmitted Notes: [1] [2] < > Means 10B encoded /I1/ or /I2/, depends on running disparity Bits Transmitted abcdefghij TX[0] RX[0] TX[9] RX[9] PCS 10B 10-Bit PHY Interface
MAC Control Frames
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-45
2.17.4 Reserved Multicast Address Disable
Receive pause frames are normally rejected as invalid if they do not have the reserved multicast address in the destination address field. Setting the MCFLTR bit in "Register 19-Flow Control 1" Section 4.3.16, programs the controller to accept receive pause frames regardless of the contents in the destination address field. When this bit is cleared, any value in the destination address field is accepted as a valid address.
2.17.5 MAC Control Frame AutoSend
The level of data in the receive FIFO also triggers the transmission of autogenerated pause frames. This feature is referred to as MAC control frame AutoSend. Appropriately setting the MCASEND[3:0] bits in "Register 19-Flow Control 1" Section 4.3.16, enable the AutoSend feature. When MAC control frame AutoSend is enabled, autogenerated pause frames are transmitted when the receive FIFO data exceeds a programmable threshold level called the MAC control AutoSend threshold. The MAC control AutoSend threshold can be set with the four MACSEND bits in "Register 19-Flow Control 1" Section 4.3.16. The automatic pause frame generation mechanism is described in more detail in Section 2.17.1, "Automatic Pause Frame Generation".
2.18 Reset
The controller has four resets which are described in Table 2.13. The controller should be ready for normal operation 1 s after the reset sequence has been completed for that bit.
2-46
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 2.13
Name Controller Reset
Reset Description
Initiated By RESETn pin asserted LOW RST bit = 1 in Register 7 (Configuration i) Reset Action Reset datapath Flush transmit FIFO Flush receive FIFO Reset bits to default values Reset counters to 0
Transmit Reset
TXRST bit = 1 in Register 7 (Configuration 1)
Reset transmit data path Flush transmit FIFO Reset TX counters to 0
Receive Reset
RXRST bit = 1 in Register 7 (Configuration 1)
Reset receive data separate path Flush receive FIFO Reset RX counters to 0
AutoNegotiation Restart Counter Reset
ANRST bit = 1 in Register 7 (Configuration 1) CTRRST bit = 1 in Register 7 (Configuration 1)
Starts AutoNegotiation sequence Reset counters to 0
2.19 Counters
The controller has a set of 53 management counters. Each counter tabulates the number of times a specific event occurs. A complete list of all counters along with their definitions is shown in Table 2.14. and described in Chapter 4, Registers.These counters provide the necessary statistics to completely support the following specifications:
* * * *
RMON Statistics Group (IETF RFC1757) SNMP Interfaces Group (IETF RFC1213 and 1573) Ethernet-Like MIB (IETF RFC1643) Ethernet MIB (IEEE 802.3z, clause 30)
Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-47
All counters are 32 bits wide. To obtain each 32-bit counter result, perform a read operation over the register interface. The address locations for each counter are shown in both Table 2.14 and Table 4.2. For the two 16-bit register locations associated with each 32-bit counter, the register with the lower value address always contains the least significant 16 bits of the counter result. Thus, C0 of the lower value address register is the counter LSB; C15 of the higher value address register is the counter MSB. When a counter read operation is initiated, the 32-bit counter result to be accessed is transferred to two internal 16-bit holding registers. These holding registers freeze and store the counter result for the duration of the read operation, while allowing the internal counter to continue to increment if needed. When a counter is read, the count can, under program control, be automatically reset to zero or remain unchanged. Counters can be programmed to either stop counting when they reach their maximum count or roll over. Burst reading is only supported for the low and high value address of the same counter. To read the value of multiple counters, either REGCSn or REGRDn must be deasserted then reasserted. Each counter has an associated status bit that is set when the counter becomes half full. These status bits can be individually programmed to cause an interrupt. The counter set in Table 2.14 includes the packet and octet statistics for the transmit and receive sides. The RMON specification literally states that packet and octet counters should only tabulate received information. This is sometimes interpreted to mean both transmitted and received information because Ethernet was originally a shared media protocol. As such, packet and octet counters for both transmit and receive are available in the controller, and the transmit and receive packet and octet counts can be summed together if desired. The exact correspondence of the actual MIB objects from the IETF and IEEE specifications to the actual controller counters locations is described in Chapter 5, Application Information.
2-48
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 2.14
Counter Definition
Counter Description Register Address REGAD[7:0] (Low/High)
Counter Number
Counter Name (MIB Object Name)
RX/TX
Definition
Size (Bits)
RMON Statistics Group MIB (RFC 1757)
Packets with receive FIFO overflow error. Bytes, exclusive of preamble, in good or bad packets. Bytes in packets with bad SFD are excluded.1 0b10000000 0b10000001
1
etherStatsDropEvents
RX
32
2
etherStatsOctets
RX
32
0b10000010 0b10000011 0b10000100 0b10000101 0b10000110 0b10000111 0b10001000 0b10001001
3
etherStatsPkts
RX
All packets, good or bad.1
32
4
etherStatsBroadcastPkts
RX
Broadcast packets, good only.1
32
5
etherStatsMulticastPkts
RX
Multicast packets, good only.1 Packets of legal-length with CRC error or alignment error. There are no alignment errors in 8B10B Gigabit Ethernet, so this counter will only count CRC errors for legal length packets. Packets of length < 64 bytes with no other errors. Packets of length > Max_Packet_Length with no other errors. Packets of length < 64 bytes with CRC error or alignment error. There are no alignment errors in 8B10B Gigabit Ethernet, so this counter will only count CRC errors with length < 64. Packets of length > Max_Packet_Length with CRC error or alignment error.
32
6
etherStatsCRCAlignErrors
RX
32
0b10001010 0b10001011 0b10001100 0b10001101 0b10001110 0b10001111
7
etherStatsUndersizePkts
RX
32
8
etherStatsOversizePkts
RX
32
9
etherStatsFragments
RX
32
0b10010000 0b10010001
10
etherStatsJabber
RX
There is no jabber function in Gigabit Ethernet, so this counter is undefined.
32
0b10010010 0b10010011
Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-49
Table 2.14
Counter Definition (Cont.)
Counter Description Register Address REGAD[7:0] (Low/High)
Counter Number
Counter Name (MIB Object Name)
RX/TX
Definition
CRS asserted and one or more collsions occurred.
Size (Bits)
11
etherStatsCollisions
TX/ RX
Since controller is Full Duplex only, this counter is undefined. Packets of length = 64 bytes, good or bad.1 Packets of length between 65-127 bytes, inclusive, good or bad.1 Packets of length between 128-255 bytes, inclusive, good or bad.1 Packets of length between 256-511 bytes, inclusive, good or bad.1 Packets of length between 512-1023 bytes, inclusive, good or bad.1 Packets of length between 1024 and Max_Packet_Length, inclusive, or bad.1 Bytes, exclusive of preamble, in good or bad packets.1
32
0b10010100 0b10010101 0b10010110 0b10010111 0b10011000 0b10011001 0b10011010 0b10011011 0b10011100 0b10011101 0b10011110 0b10011111 0b10100000 0b10100001 0b10100010 0b10100011 0b10100100 0b10100101 0b10100110 0b10100111 0b10101000 0b10101001 0b10101010 0b10101011 0b10101100 0b10101101 0b10101110 0b10101111 0b10110000 0b10110001
12
etherStatsPkts64Octets
RX
32
13
etherStatsPkts65to127Octets
RX
32
14
etherStatsPkts128to255Octets
RX
32
15
etherStatsPkts256to511Octets
RX
32
16
etherStatsPkts512to1023Octets
RX
32
17
etherStatsPkts1024to1518Octets
RX
32
18
etherStatsOctets_TX
TX
32
19
etherStatsPkts_TX
TX
All packets, good or bad.1
32
20
etherStatsBroadcastPkts_TX
TX
Broadcast packets, good only.1
32
21
etherStatsMulticastPkts_TX
TX
Multicast packets, good only.1 Packets of length = 64 bytes, good or bad.1 Packets of length between 65-127 bytes, inclusive, good or bad.1 Packets of length between 128-255, inclusive, good or bad.1 Packets of length between 256-511 bytes, inclusive, good or bad.1
32
22
etherStatsPkts64Octets_TX
TX
32
23
etherStatsPkts65to127Octets_TX
TX
32
24
etherStatsPkts128to255Octets_TX
TX
32
25
etherStatsPkts256to511Octets_TX
TX
32
2-50
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 2.14
Counter Definition (Cont.)
Counter Description Register Address REGAD[7:0] (Low/High)
0b10110010 0b10110011
Counter Number
Counter Name (MIB Object Name)
RX/TX
Definition
Packets of length between 512-1023 bytes, inclusive, good or bad.1 Packets of length between 1023 and Max_Packet _Length, inclusive, good or bad.1
Size (Bits)
26
etherStatsPkts512to1023Octets_TX
TX
32
27
etherStatsPkts1024to1518Octets_ TX
TX
32
0b10110100 0b10110101
SNMP Interfaces Group MIB (RFC 1213 & 1573)
Bytes, including preamble, in good or bad packets. 0b10110110 0b10110111 0b10111000 0b10111001
28
ifInOctets
RX
32
ifInUcastPkts
RX
Unicast packets, good only. Multicast packets, good only. Equivalent to "etherStatsMulticastPkts" Broadcast packets, good only. Equivalent to "etherStatsBroadcastPkts" Broadcast and multicast packets, good only. Equivalent to "etherStatsBroadcastPkts + etherStatsMulticastPkts" Packets with receive FIFO overflow error. Equivalent to "etherStatsDropEvents" All packets, bad only. Equivalent to "etherStatsCRCAlignError + etherStatsUndersizePkts + etherStatsOversizePkts" Bytes, including preamble, in good or bad packets.
ifInMulticastPkts
RX
Use Ctr. #5
ifInBroadcastPkts
RX
Use Ctr. #4
ifInNUcastPkts
RX
Use Ctr. #4 and 5
ifInDiscards
RX
Use Ctr. #1
29
ifInErrors
RX
32
Use Ctr. #6 and 7 and 8 0b10111010 0b10111011 0b10111100 0b10111101 0b10111110 0b10111111
30
ifOutOctets
TX
32
31
ifOutUcastPkts
TX
Unicast packets, good and bad.
32
32
ifOutMulticastPkts
TX
Multicast packets, good and bad.
32
Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-51
Table 2.14
Counter Definition (Cont.)
Counter Description Register Address REGAD[7:0] (Low/High)
0b11000000 0b11000001
Counter Number
Counter Name (MIB Object Name)
RX/TX
Definition
Size (Bits)
ifOutBroadcastPkts
TX
Broadcast packets, good and bad. Broadcast and multicast packets, good and bad. Equivalent to "ifOutMulticastPkts + ifOutBroadcastPkts" Packets with transmit FIFO underflow error. All Packets, bad only, exclusive of legal-length errors.
33
ifOutNUcastPkts
TX
32
Use Ctr. #32 and 33 0b11000010 0b11000011 0b11000100 0b11000101
34
ifOutDiscards
TX
32
35
ifOutErrors
TX
32
Ethernet-Like Group MIB
(RFC 1643)
Packets with alignment error only. There are no alignment errors in 8B10B Gigabit Ethernet, so this counter is undefined. Packets with CRC error only. Equivalent to "etherStatsCRCAlignErrors" Packets successfully transmitted after one and only one collision (ie: attempt value = 2). 38 dot3StatsSingleCollisionFrames TX Since controller is Full Duplex only, this counter is undefined. Packets successfully transmitted after more than one collision (ie: 2dot3StatsAlignmentErrors
RX
36
dot3StatsFCSErrors
RX
32
Use Ctr. #6
2-52
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 2.14
Counter Definition (Cont.)
Counter Description Register Address REGAD[7:0] (Low/High)
Counter Number
Counter Name (MIB Object Name)
RX/TX
Definition
Packets that encounter a late collision, i.e. encountered collisions more than 512-bit times into transmitted packet. A late collision is counted twice: as a collision and a late collision.
Size (Bits)
42
dot3StatsLateCollisions
TX
Since controller is Full Duplex only, this counter is undefined. Packets not successfully transmitted after more than 15 collisions (ie: attempt value=16).
32
0b11010010 0b11010011
dot3StatsExcessiveCollisions
TX
Since controller is Full Duplex only, this counter is undefined. Packets with transmit FIFO underflow error. Equivalent to "ifOutDiscards" Carrier sense dropout errors, i.e. number of times that carrier sense is not asserted or deasserted during packet transmission, without a collision. This counter is only incremented once per packet, regardless of the number of dropout errors in the packet.
0b11010100 0b11010101
43
dot3StatsInternalMacTransmitErrors
TX
32
Use Ctr. #34
dot3StatsCarrierSenseErrors
TX
There is no CRS loopback in 8B10B Ethernet, so this counter is undefined. Packets of length > Max_Packet_Length with no other errors. Equivalent to "etherStatsOversizePkts" Packets with receive FIFO overflow error. Equivalent to "etherStatsDropEvents"
0b11010110 0b11010111
dot3StatsFrameTooLongs
RX
Use Ctr. #8
44
dot3StatsInternalMacReceiveErrors
RX
32
Use Ctr. #1
Ethernet MIB
(IEEE 802.3z Clause 30)
All packets, good only. Equivalent to "etherStatsPkts_TX - ifOutErrors" Packets successfully transmitted after one and only one collision (ie: attempt value = 2). Equivalent to "dot3StatsSingleCollisionFrames" Use Ctr. #19 through 35
aFramesTransmittedOK
TX
44
aSingleCollisionFrames
TX
32
Use Ctr. #38
Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-53
Table 2.14
Counter Definition (Cont.)
Counter Description Register Address REGAD[7:0] (Low/High)
Counter Number
Counter Name (MIB Object Name)
RX/TX
Definition
Packets successfully transmitted after more than one collision (ie: 2Size (Bits)
aMultipleCollisionFrames
TX
Use Ctr. #39
aFramesReceivedOK
RX
Use Ctr. #29 and 4 and 5
aFrameCheckSequenceErrors
RX
Use Ctr. #37
44
aAlignmentErrors
RX
32
Use Ctr. #36 0b11011000 0b11011001
aOctetsTransmittedOK
TX
aFramesWithDeferredXmissions
TX
Use Ctr. #41
aLateCollisions
TX
Use Ctr. #42
aFrameAbortedDueToXSCollisions
TX
Use Ctr. #43
45
aFrameAbortedDueToIntMACXmit Error
TX
32
Use Ctr. #34
2-54
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 2.14
Counter Definition (Cont.)
Counter Description Register Address REGAD[7:0] (Low/High)
Counter Number
Counter Name (MIB Object Name)
RX/TX
Definition
Carrier sense dropout errors, i.e. number of times that carrier sense is not asserted or deasserted during packet transmission, without a collision. This counter is only incremented once per packet, regardless of the number of dropout errors in the packet. Equivalent to "dot3StatsCarrierSenseErrors" Bytes, exclusive of preamble, in good packets only. Packets with receive FIFO overflow error. Equivalent to "etherStatsDropEvents" TX Multicast packets, good only. Equivalent to "etherStatsMulticastPkts_TX" TX Broadcast packets, good only. Equivalent to "etherStatsBroadcastPkts_TX" Packets with excessive deferral, i.e. packets waiting for transmission longer than two max packet times.
Size (Bits)
45
aCarrierSenseErrors
TX
32
Use Ctr. #44 0b11011010 0b11011011
aOctetsReceivedOK
RX
aFramesLostDueToIntMACRcvr Error
RX
Use Ctr. #1
aMulticastFrameXmittedOK
TX
Use Ctr. #21
46
aBroadcastFramesXmittedOK
TX
32
Use Ctr. #20
aFramesWithExcessiveDefferal
TX
Since controller is Full Duplex only, this counter is undefined. Multicast packets, good only. Equivalent to "etherStatsMulticastPkts" Broadcast packets, good only. Equivalent to "etherStatsBroadcastPkts" Packets of legal-length whose actual length is different from length/type field value. Packets with length/type field value > Max_Packet_Length. Packets of length > Max_Packet_Length with no other errors. Equivalent to "etherStatsOversizePkts"
0b11011100 0b11011101
aMulticastFramesReceivedOK
RX
Use Ctr. #5
47
aBroadcastFramesReceivedOK
RX
32
Use Ctr. #4
48
aInRangeLengthErrors
RX
32
0b11011110 0b11011111 0b11100000 0b11100001
aOutOfRangeLengthField
RX
49
aFrameTooLongErrors
RX
32
Use Ctr. #8
Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-55
Table 2.14
Counter Definition (Cont.)
Counter Description Register Address REGAD[7:0] (Low/High)
Counter Number
Counter Name (MIB Object Name)
RX/TX
Definition
Number of times SQE was asserted. Equivalent to "dot3StatsSQETestError" One or more symbol errors received from a PHY during packet reception, exclusive of collision. This counter is only incremented once per packet, regardless of the number of symbol errors in that packet. Valid MAC Control packets. Equivalent to "apauseMACCtrlFramesTransmitted" Valid MAC Control packets. Equivalent to "apauseMACCtrlFramesReceived" Valid MAC Control packets with non-pause opcode. Valid MAC Control packets with pause opcode. Valid MAC Control packets with pause opcode.
Size (Bits)
49
aSQETestErrors
RX
32
Use Ctr. #40
aSymbolErrorDuringCarrier
RX
0b11100010 0b11100011
aMACControlFramesTransmitted
TX
Use Ctr. #52
50
aMACControlFramesReceived
RX
32
Use Ctr. #53 0b11100100 0b11100101 0b11100110 0b11100111 0b11101000 0b11101001
51
aUnsupportedOpcodesReceived
RX
32
52
apauseMACCtrlFramesTransmitted
TX
32
53
apauseMACCtrlFramesReceived
RX
32
1. Footnotes a. Bad RX packet = legal-length error, CRC error, receive FIFO overflow, symbol error. Where: CRC Error is bad FCS with an integral number of octets. Alignment Error is bad FCS with nonintegral number of octets. Symbol Error is an invalid codeword or a /V/. b. Bad TX packet = legal-length error, transmit FIFO underflow. c. Legal-length packet is between 64 and Max_Packet_Length in bytes. Preamble is not included in length count. d. Max_Packet_Length for the counters can be programmed to be either 1518, 1522, 1535, or unlimited bytes. 1518 is the default for both transmit and receive. e. The counter result is stored in two 16-bit registers. Thus, there are two register addresses for each counter. Of the two registers for a given counter, the register with the lower value address contains the least significant counter bits. f. The RMON specs explicitly states that packet and octet counters should only tabulate received information. This is sometimes interpreted to mean both transmitted and received information because Ethernet was originally a shared media. As such, transmit packet and octet counters are also available in counters 18-27 and can be summed with receive packet and octet counts if desired.
2-56
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2.19.1 Counter Half Full
Each 32-bit counter has a half-full status output bit associated with it. The half-full bits are stored in "Register 112-115-Counter Half Full 1-4" Section 4.3.23. A half-full bit is set when its counter value reaches 0x80000000 (MSB bit goes from a 0 to a 1), so it is set when the counter becomes half full. The counter half-full bits latch themselves when they are set. Each bit stays latched until either the bit is read or the counter register with which the bit is associated is read. Counter half-full bits are also interrupt bits (the setting of any counter half-full bit can be programmed to cause the assertion of the interrupt pin, REGINT). When a read clears the counter half-full bit, the interrupt is also cleared. Note: REGINT stays asserted until all interrupt bits are cleared.
Each counter half-full bit can be individually programmed to assert (or not assert) the REGINT pin. Setting the appropriate mask bit associated with the counter half full "Registers 120-123-Counter Half Full Mask 14" Section 4.3.24, programs the controller to mask (disable) the interrupt caused by the corresponding counter half full detect bit.
2.19.2 Counter Reset On Read
A read operation on a counter does not normally affect the counter values. However, setting the CTR_RD bit in "Register 9-Configuration 3" Section 4.3.10, programs the counter to automatically reset to zero when read. When the CTR_RD bit is set, a counter is cleared to 0 whenever any one of the two 16-bit counter registers associated with a 32-bit counter is read. An internal holding register stores the entire 32-bit counter result so that the result is correctly read as long as two successive 16-bit counter register reads are performed from the same counter. In order to read the cleared value, the read operation needs to be deasserted then reasserted (i.e., REGCSn and REGRDn). When the CTR_RD bit is cleared (default), a read does not affect the count in the counter, as long as the counter is not at maximum count. If a counter is at maximum count, its count is always reset to 0 when the counter is read.
Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-57
2.19.3 Counter Rollover
Counters normally roll over to zero when they exceed their maximum count, (receive an increment when counter is at maximum count). The counters can be programmed to freeze and stop counting once they reach their maximum count. Setting the CTR_ROLL bit in "Register 9- Configuration 3" Section 4.3.10, programs the counters to freeze when they reach their maximum count.
2.19.4 Counter Maximum Packet Size
The maximum packet size used for the management counter statistics can be programmed to be one of four values. Setting the CMXPKT[1:0] bits in "Register 10-Configuration 4" Section 4.3.11, select the maximum packet size. This selection is described in the register descriptions for those registers and is also summarized in Table 2.15. The bits in Table 2.15 affect the maximum packet size for the counters only; the maximum packet size for the MAC section is described in Section 2.8, "Receive MAC". Table 2.15 Counter Maximum Packet Size Selection
Maximum Packet Size (bytes) Unlimited 1535 1522 1518
CMXPKT [1:0] 11 10 01 00
2.19.5 Counter Reset
Setting the CTRRST bit in "Register 7-Configuration 1" Section 4.3.8, resets all counters to zero. Asserting the controller reset pin, RESETn, also resets the counters to zero.
2-58
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2.20 Loopback
To enable the diagnostic loopback mode, set the LPBK bit in "Register 10-Configuration 4" Section 4.3.11. When the loopback mode is enabled, the transmit data input to the transmit system interface and output from the 8B10B encoder is internally looped back into the receive 8B10B decoder and is available to be read from the receive system interface.
2.21 Test Modes
The TEST pin is reserved for factory test, and must be tied LOW for normal operation. Asserting the TAP pin HIGH, sets all inputs and outputs in the high-impedance state. This pin is intended for controller and board diagnostic testing.
Loopback
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
2-59
2-60
Functional Description
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Chapter 3 Signal Descriptions
This chapter describes the 8101/8104 Gigabit Ethernet Controller signals in the following sections:
* * * * *
Section 3.1, "System Interface Signals" Section 3.2, "10-Bit PHY Interface Signals" Section 3.3, "Register Interface Signals" Section 3.4, "Micellaneous Signals" Section 3.5, "Power Supply Signals"
Figure 3.1 is a diagram of the 8101/8104 signals.
8101/8104 Gigabit Ethernet Controller
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
3-1
Figure 3.1
8101/8104 Interface Diagram
SCLK TXENn TXD[31:0] TXBE[3:0] TXSOF TXEOF TXWM1n TXWM2n TXDC CLR_TXDC FCNTRL TXCRCn RXENn RXOEn RXD[31:0] RXBE[3:0] RXSOF RXEOF RXWM1 RXWM2 RXDC CLR_RXDC RXABORT TBC TX[9:0]] RBC[1:0] RX[9:0] EN_CDET EWRAP LCK_REFn REGCSn REGCLK REGD[15:0] REGA[7:0] REGRDn REGWRn REGINT TCLK LINKn SD RESETn TAP TEST
10-Bit PHY Interface
System Interface
Register Interface
Miscellaneous
VCC GND[30:0]
3.3 V 5% Ground
3-2
Signal Descriptions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
3.1 System Interface Signals
This section describes the 8101/8104 system interface signals. CLR_RXDC Clear RXDC Input When CLR_RXDC is asserted, the RXDC pin is cleared. Wheh CLR_RXDC is LOW, the RXDC pin is not cleared. CLR_RXDC is clocked in on the rising edge of the system clock, SCLK. This pin only clears RXDC when AutoClear mode is disabled. When AutoClear mode is enabled, this pin is ignored and RXDC is automatically cleared two clock cycles after RXEOF is asserted. CLR_TXDC Clear TXDC Input When CLR_TXDC is HIGH, the TXDC pin is cleared. When CLR_TXDC is LOW, the TXDC pin is not cleared. TXDC is clocked in on the rising edge of the system clock, SCLK. This pin only clears TXDC when AutoClear mode is disabled. When AutoClear mode is enabled, this pin is ignored and TXDC is automatically cleared two clock cycles after TXEOF is asserted. FCNTRL Flow Control Enable Input When FCNTRL is HIGH, transmitter automatically transmits a MAC control pause frame. When FCNTRL is LOW, the controller resumes normal operation. FCNTRL is clocked in on the rising edge of the system clock, SCLK. Receive FIFO Data Abort Input When RXABORT is asserted, the packet being read out on RXD[31:0] is aborted and discarded. When LOW, the packet is not aborted and discarded. RXABORT is clocked in on the rising edge of the system clock, SCLK. Receive Byte Enable Output These outputs determine which bytes of the current data on RXD[31:0] contain valid data. RXBE[3:0] is clocked out of the device on the rising edge of the system interface clock, SCLK.
RXABORT
RXBE[3:0]
System Interface Signals
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
3-3
RXD[31:0]
Receive Data Output This output bus contains the 32-bit received data word that is clocked out on the rising edge of the system interface clock, SCLK. Receive Packet Discard Output When HIGH, device detects that current packet being output on the system interface has an error and should be discarded. When LOW, no discard. Asserting the RXABORT pin or setting the AUTORXAB bit in "Register 9-Configuration 3" Section 4.3.10, automatically discards the packet being output. RXDC is clocked out on the rising edge of the system clock, SCLK. If AutoClear mode is not enabled, this output is latched HIGH and stays latched until cleared with the assertion of the CLR_RXDC pin. If AutoClear mode is enabled, this output is latched HIGH and automatically clears itself LOW two clock cycles after RXEOF is asserted. RXDC can also be cleared with RXABORT if programmed to do so.
RXDC
RXENn
Receive Enable Input This input must be asserted active LOW to enable the current data word to be clocked out of the receive FIFO on RXD[31:0]. RXENn is clocked in on the rising edge of the system interface clock, SCLK. Receive End Of Frame Output This output is asserted on the same clock cycle as the last word of the packet is being read out of the receive FIFO on RXD[31:0]. RXEOF is clocked out of the device on the rising edge of the system interface clock, SCLK. Receive Output Enable Input When LOW, all receive outputs are active. When HIGH, receive outputs (RXD[31:0], RXBE[3:0], RXSOF, RXEOF) are high-impedence. Receive Start Of Frame Output This output is asserted on the same clock cycle as the first word of the packet is being read out of the receive FIFO on RXD[31:0]. RXSOF is clocked out of the device on the rising edge of the system interface clock, SCLK.
RXEOF
RXOEn
RXSOF
3-4
Signal Descriptions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
RXWM1
Receive FIFO Watermark 1 Output When RXWM1 is LOW, the receive FIFO data is less than or equal to the receive FIFO watermark 1 threshold. When HIGH, the receive FIFO data is greater than the watermark. RXWM1 is clocked out on the rising edge of the system clock, SCLK. Data is valid on RXD[31:0] when either RXWM1 or RXWM2 is asserted, independent of RXENn. Receive FIFO Watermark 2 Output When RXWM2 is LOW, the receive FIFO data is less than or equal to the receive FIFO watermark 2 threshold and no EOF in FIFO. When HIGH, the receive FIFO data is greater than the watermark. RXWM2 is clocked out on the rising edge of the system clock, SCLK. Data is valid on RXD[31:0] when either RXWM1 or RXWM2 is asserted, independent of RXENn. System Interface Clock Input This input clocks data in and out of the transmit and receive FIFOs on TXD[31:0] and RXD[31:0], respectively. All system interface inputs and outputs are also clocked in and out on the rising edge of SCLK, with the exception of RXOEn. SCLK clock frequency must be between 33-66 MHz. Transmit Byte Enable Input These inputs determine which bytes of the current 32-bit word on TXD[31:0] contain valid data. TXBE[3:0] is clocked into the device on the rising edge of the system interface clock, SCLK. Transmit CRC Enable Input When TXCRC is LOW, CRC is calculated and appended to the current packet being input on the system interface. When TXCRC is HIGH, CRC is not calculated. TXCRCn is clocked in on the rising edge of the system clock, SCLK, and must be asserted on the same SCLK clock cycle as TXSOF. Transmit Data Input This input bus contains the 32-bit data word that is clocked into the transmit FIFO on the rising edge of the system interface clock, SCLK.
RXWM2
SCLK
TXBE[3:0]
TXCRCn
TXD[31:0]
System Interface Signals
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
3-5
TXDC
Transmit Packet Discard Output When TXDC is HIGH, the controller detects that current packet being input on the system interface has an error, rest of packet ignored. When LOW, The packet is not discarded. TXDC is clocked out on thr rising edge of the system clock. If AutoClear mode is not enabled, this output is latched HIGH and stays latched until cleared with the assertion of the CLR_TXDC pin. If AutoClear mode is enabled, this output is latched HIGH and automatically clears itself LOW two clock cycles after TXEOF is asserted.
TXENn
Transmit Enable Input This input must be low to enable the current data word on TXD[31:0] to be clocked into the transmit FIFO. TXENn is clocked in on the rising edge of the system interface clock, SCLK. Transmit End Of Frame Input This input must be asserted on the same clock cycle as the last word of the packet is being clocked in on TXD[31:0]. TXEOF is clocked into the device on the rising edge of the system interface clock, SCLK. Transmit Start Of Frame Input This input must be asserted on the same clock cycle as the first word of the packet is being clocked in on TXD[31:0]. TXSOF is clocked into the device on the rising edge of the system interface clock, SCLK. Transmit FIFO Watermark 1 Output When TXWM1n is HIGH, the transmit FIFO data is less than or equal to the transmit FIFO watermark 1. When LOW, the transmit FIFO data is above the watermark. TXWM1n is clocked out on the rising edge of the system clock, SCLK. Transmit FIFO Watermark 2 Output When TXWM2n is HIGH, the transmit FIFO data is less than or equal to the transmit FIFO watermark 2. When LOW, the transmit FIFO data is above the watermark. TXWM2n is clocked out on the rising edge of the system clock, SCLK.
TXEOF
TXSOF
TXWM1n
TXWM2n
3-6
Signal Descriptions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
3.2 10-Bit PHY Interface Signals
This section describes the 8101/8104 10-Bit PHY interface signals. EN_CDET Comma Detect Enable Output This output is asserted when either the receive 8B10B PCS state machine is in the loss of synchronization state or the CDET bit is set in "Register 9-Configuration 3" Section 4.3.10. This output is typically used to enable the comma detect function in an external physical layer device. Loopback Output Enable Output This output is asserted whenever the EWRAP bit is set in "Register 9-Configuration 3" Section 4.3.10. This output is typically used to enable loopback in an external physical layer device. Receiver Lock Output This output is asserted whenever the LCK_REFn bit is set in "Register 9-Configuration 3" Section 4.3.10. This output is typically used to enable the receive lock-to-reference mechanism in an external physical layer. Receive Clock Input The RBC[1:0] signals clock receive data into the controller on the clock rising edge. RBC[1:0] are 62.5 MHz clocks, 180 out of phase, that clock data into the controller on RX[9:0] at an effective rate of 125 MHz. For the device to acquire synchronization, the comma code must be input on RXD[9:0] on RBC1 rising edges. Receive Data Input These inputs contain receive data that are clocked in on the rising edges of RBC[1:0]. Transmit Clock Output This output clock transmits data out on TX[0:9] on its rising edge. TBC is a 125 MHz clock and is generated from TCLK.
EWRAP
LCK_REFn
RBC[1:0]
RX[9:0]
TBC
10-Bit PHY Interface Signals
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
3-7
TX[9:0]
Transmit Data Output These interface outputs transmit data on the rising edge of TBC.
3.3 Register Interface Signals
This section describes the 8101/8104 register interface signals. REGA[7:0] Register Interface Address Input These inputs provide the address for the specific internal register to be accessed, and are clocked into the device on the rising edge of REGCLK. Register Interface Clock Input This input clocks data in and out on REGD[15:0], REGA[7:0], REGRDn, and REGWRn on its rising edge. REGCLK frequency must be between 5-40 MHz. Register Interface Chip Select Input This input must be asserted to enable reading and writing data on REGD[15:0] and REGA[7:0]. This input is clocked in on the rising edge of REGCLK. Register Interface Data Bus Bidirectional This bus is a bidirectional 16-bit data path to and from the internal registers. Data is read and written from and to the internal registers on the rising edge of the register clock, REGCLK. Register Interface Interrupt Output This output is asserted when certain interrupt bits in the registers are set, and it remains latched HIGH until all interrupt bits are read and cleared. Register Interface Read Input When this input is asserted, the accessed internal register is read (data is output from the register). This input is clocked into the device on the rising edge of REGCLK. Register Interface Write Input When this input is asserted, the accessed internal register is written (data is input to the register). This input is clocked into the device on the rising edge of REGCLK.
REGCLK
REGCSn
REGD[15:0]
REGINT
REGRDn
REGWRn
3-8
Signal Descriptions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
3.4 Micellaneous Signals
This section describes the 8101/8104 micellaneous signals. LINKn Receive Link Output When this signal is HGH, there is no link. When this signal is asserted, the receive link is synchronized and configured. Reserved These pins are reserved and must be left floating. Reset Input When this signal is HIGH, controller is in normal operation. When this signal is asserted, controller resets, FIFO's are cleared, counters are cleared, and register bits are set to default values. Signal Detect Input When this signal is asserted, data detected on receive 10-bit PHY is valid. When SD is LOW, data is not valid and the 8B10B PCS receiver is forced to a loss of sync state. This signal is ignored (assumed high) unless the SD_EN bit in "Register 9-Configuration 3" Section 4.3.10, is cleared. 3-state all pins Input This pin is used for testing purposes only. When asserted, all output and bidirectional pins are placed in a high-impedence state. Test Mode Input This pin is used for factory test and must be tied LOW for proper operation. Transmit Clock Input This 125 MHz input clock is used by the 8B10B PCS section and generates the 125 MHz transmit output clock, TBC, is used to output data on the 10-bit PHY interface.
RESERVED RESETn
SD
TAP
TEST
TCLK
Micellaneous Signals
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
3-9
3.5 Power Supply Signals
This section describes the 8101/8104 power supply signals. VCC[26:0] GND[26:0] Positive Supply. +3.3 V 5% Volts Ground 0 Volts - -
3-10
Signal Descriptions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Chapter 4 Registers
The 8101/8104 controller has 136 internal 16-bit registers. Twenty-two registers are available for setting configuration inputs and reading status outputs. The remaining 114 registers are associated with the management counters. This chapter contains the following sections:
* * *
Section 4.1, "Register Interface" Section 4.2, "Register Addresses" Section 4.3, "Register Definitions"
4.1 Register Interface
The register interface is a 16-bit bidirectional data interface that allows access to the internal registers. The register interface consists of 29 signals:
* * * * * * *
Sixteen bidirectional data I/O bits (REGD[15:0]) Eight register address inputs (REGA[7:0]) One chip select input (REGCSn) One clock input (REGCLK) The REGCLK clock frequency must be between 5-40 MHz. One read select input (REGRDn) One write select input (REGWRn) One interrupt output (REGINT)
All register accesses are done on the rising edge of the REGCLK clock. To access a register through the register interface, REGCSn must be asserted and is sampled on the rising edge of REGCLK. On that same
8101/8104 Gigabit Ethernet Controller
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-1
rising edge of REGCLK, the address of the register that is accessed is clocked in on REGA[7:0]. On that same rising edge of REGCLK, either REGRDn or REGWRn must also be asserted. These signals determine whether the register access is a read or write cycle. During a write cycle, the data to be written to a specific register is clocked in on the rising edge of the same clock that clocked in the other inputs. During a read cycle, the data is output on REGD[15:0] some delay after the rising edge of REGCLK that clocked in the input information. REGCSn can remain LOW for multiple REGCLK cycles so that many registers can be read or written during one REGCSn assertion. During read cycles, the delay from REGCLK to data valid on the REGD[15:0] pins is a function of which register is being accessed. Data read from any register, exclusive of the Counter 1-53 registers, appears on the REGD[15:0] pins in one REGCLK cycle. Data read from the Counter 1-53 registers takes at most six REGCLK cycles to be available on REGD[15:0] for the first 16 bits of the counter result, and at most three REGCLK cycles for the second 16 bits of the counter result. Refer to Chapter 6, Specifications for details of the interface timing characteristics.
4.1.1 Bit Types
The register interface is bidirectional, and there are many types of bits in the registers. The bit type definitions are summarized in Table 4.1. Write bits (W) are inputs during a write cycle and are 0 during read cycles. Read bits (R) are outputs during a read cycle and ignored and highimpedance during a write cycle. Read/Write bits (R/W) are actually write bits that can be read during a read cycle. R/WSC bits are R/W bits that are self clearing after a set period of time or after a specific event has completed. R/LL bits are read bits that latch themselves when they go to 0 and they stay latched until read. After they are read, they are set to 1. R/LH bits are the same as R/LL bits except that they latch to 1. R/LT are read bits that latch themselves whenever they make a transition or change value and they stay latched until they are read. After R/LT bits are read, they are updated to their current value. R/LLI, R/LHI, and R/LTI bits function the same as R/LL, R/LH and R/LT bits, respectively, except they also assert interrupt if programmed to do so (not masked).
4-2
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 4.1
Register Bit Type Definition
Bit Types Definition Write Cycle Input No operation, input ignored Input Input Clears itself after operation completed Output Input ignored when bit goes to 0, bit latched, and interrupt asserted (if not masked) When bit is read, bit updated and interrupt cleared Read Cycle No operation, output not valid Output Ouput Ouput
Symbol W R R/W R/W SC R/LL R/LLI
Name Write Read Read/Write Read/Write Self Clearing
Read, Latch when 0 No operation latching Read, Latch when 0, Assert Interrupt
R/LH R/LHI
Read/write Read/write, latch HIGH with interrupt
No operation, input ignored
Output When bit goes to 1, bit latched & interrupt asserted (if not masked) When bit is read, bit updated and interrupt cleared
R/LT R/LTI
Read, Latch on Transition Read, Latch on Transition with interrupt
No operation, input ignored
Output When bit transitions, bit latched and interrupt asserted (if not masked) When bit is read, bit updated and interrupt cleared
4.1.2 Interrupt
An interrupt is triggered when certain output status bits change state. These bits are called interrupt bits and are designated as R/LLI, R/LHI, and R/LTI bits, as described in the previous section. The interrupt bits reside in "Register 11-Status 1" Section 4.3.12, and "Register 112-115- Counter Half Full 1-4" Section 4.3.23,. Interrupt bits automatically latch
Register Interface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-3
themselves and assert the interrupt pin, REGINT. Interrupt bits stay latched until they are read. When interrupt bits are read, the interrupt pin REGINT is deasserted and the interrupt bits that caused the interrupt are updated to their current value. Each interrupt bit can be individually masked and subsequently removed as an interrupt bit. Setting the appropriate mask register bits in "Register 14-Status Mask 1" Section 4.3.13, register and "Registers 120-123- Counter Half Full Mask 1-4" Section 4.3.24, preform this function.
4.1.3 Register Structure
The Controller has 136 internal 16-bit registers. 22 registers are available for setting configuration inputs and reading status outputs. The remaining 114 registers are associated with the management counters. The location of all registers is described in Table 4.2 Register Address Table. The definition of each bit for each register is described in Section 4.3.1 through Section 4.3.25.
4.2 Register Addresses
Table 4.2 lists the register number, register address, register name, and the paragraph that describes the register. Table 4.3 lists the register default values. Table 4.2 Register Addresses
Register Address (REGAD[7:0] Pins) 0b00000000 0b00000001 0b00000010 0b00000011 0b00000100 0b00000101
Register Numbers 0 1 2 3 4 5
Register Name MAC Address 1 MAC Address 2 MAC Address 3 MAC Address Filter 1 MAC Address Filter 2 MAC Address Filter 3
Paragraph Number 4.3.1 4.3.2 4.3.3 4.3.4 4.3.5 4.3.6
4-4
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 4.2
Register Addresses (Cont.)
Register Address (REGAD[7:0] Pins) 0b00000110 0b00000111 0b00001000 0b00001001 0b00001010 0b00001011 0b00001100- 0b00001101 0b00001110 0b00001111- 0b00010000 0b00010001 0b00010010 0b00010011 0b00010100 0b00010101 0b00010110 0b00010111 0b00011000 0b00011001- 0b00011111 0b00100000 0b00011001- 0b01101111 0b01110000- 0b01110011
Register Numbers 6 7 8 9 10 11 12-13 14 15-16 17 18 19 20 21 22 23 24 25-31 32 33-111 112-115
Register Name MAC Address Filter 4 Configuration 1 Configuration 2 Configuration 3 Configuration 4 Status 1 Reserved Status Mask 1 Reserved Transmit FIFO Threshold Receive FIFO Threshold Flow Control 1 Flow Control 2 AutoNegotiation Base Page Transmit AutoNegotiation Base Page Receive AutoNegotiation Next Page Transmit AutoNegotiation Next Page Receive Reserved Device ID Reserved Counter Half Full 1-4
Paragraph Number 4.3.7 4.3.8 4.3.9 4.3.10 4.3.11 4.3.12
4.3.13
4.3.14 4.3.15 4.3.16 4.3.17 4.3.18 4.3.19 4.3.20 4.3.21
4.3.22
4.3.23
Register Addresses
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-5
Table 4.2
Register Addresses (Cont.)
Register Address (REGAD[7:0] Pins) 0b01110100- 0b01110111 0b01111000- 0b01111011 0b01111100- 0b01111111 0b10000000- 0b10000001 0b10000010- 0b10000011 0b10000100- 0b10000101 0b10000110- 0b10000111 0b10001000- 0b10001001 0b10001010- 0b10001011 0b10001100- 0b10001101 0b10001110- 0b10001111 0b10010000- 0b10010001 0b10010010- 0b10010011 0b10010100- 0b10010101 0b10010110- 0b10010111
Register Numbers 116-119 120-123 124-127 128-129 130-131 132-133 134-135 136-137 138-139 140-141 142-143 144-145 146-147 148-149 150-151
Register Name Reserved Counter Half Full Mask 1-4 Reserved Counter 1- etherStatsDropEvents Counter 2 - etherStatsOctets Counter 3 - etherStatsPkts Counter 4 - etherStatsBroadcastPkts Counter 5 - etherStatsMulticastPkts Counter 6 - etherStatsCRCAlignErrors Counter 7 - etherStatsUndersizePkts Counter 8 - etherStatsOversizePkts Counter 9 - etherStatsFragments Counter 10 - etherStatsJabber Counter 11 - etherStatsCollisions Counter 12 - etherStatsPkts64Octets
Paragraph Number
4.3.24
4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25
4-6
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 4.2
Register Addresses (Cont.)
Register Address (REGAD[7:0] Pins) 0b10011000- 0b10011001 0b10011010- 0b10011011 0b10011100- 0b10011101 0b10011110- 0b10011111 0b10100000- 0b10100001 0b10100010- 0b10100011 0b10100100- 0b10100101 0b10100110- 0b10100111 0b10101000- 0b10101001 0b10101010- 0b10101011 0b10101100- 0b10101101 0b10101110- 0b10101111 0b10110000- 0b10110001 0b10110010- 0b10110011 0b10110100- 0b10110101
Register Numbers 152-153 154-155 156-157 158-159 160-161 162-163 164-165 166-167 168-169 170-171 172-173 174-175 176-177 178-179 180-181
Register Name Counter 13 - etherStatsPkts65to127Octets Counter 14 - etherStatsPkts128to255Octets Counter 15 - etherStatsPkts256to511Octet Counter 16 - etherStatsPkts512to1023Octets Counter 17 - etherStatsPkts1024to1518Octets Counter 18 - etherStatsOctets_TX Counter 19 - etherStatsPkts_TX Counter 20 - etherStatsBroadcastPkts_TX Counter 21 - etherStatsMulticastPkts_TX Counter 22 - etherStatsPkts64Octets_TX Counter 23 - etherStatsPkts65to127Octets_TX Counter 24 - etherStatsPkts128to255Octets_TX Counter 25 - etherStatsPkts256to511Octets_TX Counter 26 - etherStatsPkts512to1023Octets_TX Counter 27 - etherStatsPkts1024to1518Octets_TX
Paragraph Number 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25
Register Addresses
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-7
Table 4.2
Register Addresses (Cont.)
Register Address (REGAD[7:0] Pins) 0b10110110- 0b10110111 0b10111000- 0b10111001 0b10111010- 0b10111011 0b10111100- 0b10111101 0b10111110- 0b10111111 0b11000000- 0b11000001 0b11000010- 0b11000011 0b11000100- 0b11000101 0b11000110- 0b11000111 0b11001000- 0b11001001 0b11001010- 0b11001011 0b11001100- 0b11001101 0b11001110- 0b11001111 0b11010000- 0b11010001 0b11010010- 0b11010011
Register Numbers 182-183 184-185 186-187 188-189 190-191 192-193 194-195 196-197 198-199 200-201 202-203 204-205 206-207 208-209 210-211
Register Name Counter 28 - ifInOctets Counter 29 - ifInUcastPkts Counter 30 - ifOutOctets Counter 31 - ifOutUcastPkts Counter 32 - ifOutMulticastPkts Counter 33 - ifOutBroadcastPkts Counter 34 - ifOutDiscards Counter 35 - ifOutErrors Counter 36 - dot3StatsAlignmentErrors Reserved Counter 38 - dot3StatsSingleCollisionFrames Counter 39 - dot3StatsMultipleCollisionFrames Counter 40 - dot3StatsSQETestErrors Counter 41 - dot3StatsDeferredTransmissions Counter 42 - dot3StatsLateCollisions
Paragraph Number 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25
4.3.25 4.3.25 4.3.25 4.3.25 4.3.25
4-8
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 4.2
Register Addresses (Cont.)
Register Address (REGAD[7:0] Pins) 0b11010100- 0b11010101 0b11010110- 0b11010111 0b11011000- 0b11011001 0b11011010- 0b11011011 0b11011100- 0b11011101 0b11011110- 0b11011111 0b11100000- 0b11100001 0b11100010- 0b11100011 0b11100100- 0b11100101 0b11100110- 0b11100111 0b11101000- 0b11101001 0b11101010- 0b11111111
Register Numbers 212-213 214-215 216-217 218-219 220-221 222-223 224-225 226-227 228-229 230-231 232-233 234-255
Register Name Counter 43 - dot3StatsExcessiveCollisions Counter 44 - dot3StatsCarrierSenseErrors Counter 45 - aOctetsTransmittedOK Counter 46 - aOctetsReceivedOK Counter 47 - aFramesWithExcessiveDefferal Counter 48 - aInRangeLengthErrors Counter 49 - aOutOfRangeLengthField Counter 50 - aSymbolErrorDuringCarrier Counter 51 - aUnsupportedOpcodesReceived Counter 52 - aPauseMACCtrlFramesTransmitted Counter 53 - aPauseMACCtrlFramesReceived Reserved
Paragraph Number 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25 4.3.25
Register Addresses
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-9
Table 4.3
Register Numbers 0 1 2 3 4 5 6 7 8 9 10 11 12-13 14 15-16 17 18 19 20 21 22 23 24 25-31 32
Register Default Values
Register Address (REGAD[7:0] Pins) 0b00000000 0b00000001 0b00000010 0b00000011 0b00000100 0b00000101 0b00000110 0b00000111 0b00001000 0b00001001 0b00001010 0b00001011 0b00001100-0b00001101 0b00001110 0b00001111-0b00010000 0b00010001 0b00010010 0b00010011 0b00010100 0b00010101 0b00010110 0b00010111 0b00011000 0b00011001-0b00011111 0b00100000 Default (Hex) 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x03F2 0x07E5 0x07E0 0x0000 0x0000
Register Name MAC Address 1 MAC Address 2 MAC Address 3 MAC Address Filter 1 MAC Address Filter 2 MAC Address Filter 3 MAC Address Filter 4 Configuration 1 Configuration 2 Configuration 3 Configuration 4 Status 1 Reserved Status Mask 1 Reserved Transmit FIFO Threshold Receive FIFO Threshold Flow Control 1 Flow Control 2 AutoNegotiation Base Page Transmit AutoNegotiation Base Page Receive AutoNegotiation Next Page Transmit AutoNegotiation Next Page Receive Reserved Device ID
0xFFFF
0x8620 0x00C0 ox9800 0xF000 0x00A0 0x0000 0x0000 0x0000
0x1000
4-10
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 4.3
Register Numbers 33-111 112-115 116-119 120-123 124-127 128-233 234-255
Register Default Values (Cont.)
Register Address (REGAD[7:0] Pins) 0b00011001-0b01101111 0b01110000-0b01110011 0b01110100-0b01110111 0b01111000-0b01111011 0b01111100-0b01111111 0b10000000-0b11101001 0b11101010-0b11111111 Default (Hex)
Register Name Reserved Counter Half Full 1-4 Reserved Counter Half Full Mask 1-4 Reserved
0x0000
oxFFFF
Counter 1-53 32-bit Management Counters 0x0000 Reserved
4.3 Register Definitions
The following paragraphs describe the 8101/8104 internal registers.
4.3.1 Register 0-MAC Address 1
15 A[47:32] 0
Note: A[47:32]
A[47] 15-bit occurs on the REGD15 pin. MAC Address, First Word [15:0], R/W This is the fist of three words in the 48-bit MAC address. The MAC address is used to receive unicast address filtering of the DA, and serves as the SA for automatically generated MAC control pause frames. A0 (see Register 2) corresponds to the first bit transmitted or received by the MAC section (DA[0] or SA[0] in Figure 2.3).
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-11
4.3.2 Register 1-MAC Address 2
15 A[31:16] 0
Note: A[31:16]
A[31] 15-bit occurs on the REGD15 pin. MAC Address, Second Word [15:0], R/W This is the second of three words in the 48-bit MAC address. The MAC address is used to receive unicast address filtering of the DA, and serves as the SA for automatically generated MAC control pause frames. A0 (see Register 2) corresponds to the first bit transmitted or received by the MAC section (DA[0] or SA[0] in Figure 2.3.
4.3.3 Register 2-MAC Address 3
15 A[15:0] 0
Note: A[15:0]
A[15] 15-bit occurs on the REGD15 pin. MAC Address, Third Word [15:0], R/W This is the third of three words that comprise the 48-bit MAC address. The MAC address is used to receive unicast address filtering of the DA, and serves as the SA for automatically generated MAC control pause frames. A0 corresponds to the first bit transmitted or received by the MAC section (DA[0] or SA[0] in Figure 2.3).
4.3.4 Register 3-MAC Address Filter 1
15 F7[7:0] 8
4-12
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
7 F6[7:0]
0
Note:
F7[7] 15-bit occurs on the REGD15 pin.
F7[7:0], F6[7:0] MAC Address Filter [15:0], R/W This is the first of four words in the 64-bit MAC address filter. The MAC address filter is used to filter the destination address on multicast packets.
4.3.5 Register 4-MAC Address Filter 2
15 F5[7:0] 7 F4[7:0] 0 8
Note:
F5[7] 15-bit occurs on the REGD15 pin.
F5[7:0], F4[7:0] MAC Address Filter [15:0], R/W This is the second of four words in the 64-bit MAC address filter. The MAC address filter is used to filter the destination address on multicast packets.
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-13
4.3.6 Register 5-MAC Address Filter 3
15 F3[7:0] 7 F2[7:0] 0 8
Note:
F3[7] 15-bit occurs on the REGD15 pin
F3[7:0], F2[7:0] MAC Address Filter [15:0], R/W This is the third of four words in the 64-bit MAC address filter. The MAC address filter is used to filter the destination address on multicast packets.
4.3.7 Register 6-MAC Address Filter 4
15 F1[7:0] 7 F0[7:0] 0 8
Note:
F1[7] 15-bit occurs on the REGD15 pin
F1[7:0], F0[7:0] MAC Address Filter [15:0], R/W This is the fourth of four words in the 64-bit MAC address filter. The MAC address filter is used to filter the destination address on multicast packets.
4-14
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4.3.8 Register 7-Configuration 1
15 RST 7 IPG[0] 14 RXRST 6 TXPRMBL 13 TXRST 5 TXCRC 12 ANRST 4 RXPRMBL 11 CTRRST 3 RXCRC 10 APAD 2 STSWRD1 1 STSWRD0 9 IPG[2:1] 0 PEOF 8
Note: RST
RST 15-bit occurs on the REGD15 pin Reset
RST 1 0 Description Controller is reset; it self-clears in 1 s Nominal operation
15, R/WSC
RXRST
Receive Reset
RXRST 1 0 Description
14, R/WSC
Receive data path reset, self-clears when the start of the new packet is detected Normal
TXRST
Transmit Reset
TXRST 1 0 Description
13, R/WSC
Transmit data, data reset, self-clearing in 1 s Normal
ANRST
AutoNegotiation Restart
ANRST 1 0 Description
12, R/WSC
AutoNegotiation algorithm restarted, self-clearing after AutoNegotiation process starts No Reset
CTRRST
Counter Reset
CTRRST 1 0 Description
11, R/WSC
All counters reset to 0, self-clearing in 1 s No reset
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-15
APAD
AutoPad Enable
APAD 1 0 Description
10, R/W
All undersize transmit packets padded to 64 bytes No autopad
IPG[2:0]
Transmit Interpacket Gap Select
IPG[2:0] 111 110 101 100 011 010 001 000 Description
[9:7], R/W
Tranmsit IPG is 96 bits (IEEE specification minimum) Transmit IPG is 122 bits Transmit IPG is 80 bits Transmit IPG is 64 bits Transmit IPG is 192 bits-(2 x IEEE specification minimum) Transmit IPG is 384 bits-(4 x IEEE specification minimum) Transmit IPG is 768 bits-(8 x IEEE specification minimum) Transmit IPG is 32 bits
TXPRMBL
Transmit Preamble Enable
TXPRMBL 1 0 Description
6, R/W
Preamble added to beginning of transmit packet Preamble not added
TXCRC
Transmit CRC Enable
TXCRC 1 0 Description
5, R/W
CRC calculated and added to end of transmit packet CRC not added
RXPRMBL
Receive Preamble Enable
RXPRMBL 1 0 Description
4, R/W
Preamble is stored in RX FIFO with rest of packet Preamble stripped off
4-16
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
RXCRC
Receive CRC Enable
RXCRC 1 0 Description
3, R/W
CRC is stored in RX FIFO with rest of packet CRC stripped off
STSWRD[1:0] Receive Status Word Append Select
STSWRD[1:0] 11 10 01 00 Description Reserved
[2:1], R/W
Receive status word for nondiscarded packets and discarded packets Receive status word for nondiscarded packets No receive status word
PEOF
Receive EOF Position Select
PEOF 1 0 Description Receive EOF at end of packet data
0, R/W
Receive EOF at end of receive status word
4.3.9 Register 8-Configuration 2
15 REJUCST 7 DIS_OSIZE 14 REJMCST 6 DIS_CWRD 13 REJBCST 5 DIS_RXAB 12 REJALL 4 RES = 0 11 ACPTALL 10 DIS_OVF 9 DIS_CRC 8 DIS_USIZE 0
Note: REJUCST
REJUCST 15-bit occurs on the REGD15 pin Receive Unicast Packets Reject
REJUCST Description 1 0 Receiver rejects all unicast packets Accept unicast packet if DA value in registers [0:2]
15, R/W
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-17
REJMCST
Receive Multicast Packets Reject
REJMCST 1 0 Description Receiver rejects all multicast packets
14, R/W
Accept multicast packet if DA passes MAC address filter
REJBCST
Receive Broadcast Packets Reject
REJBCST 1 0 Description Receiver rejects all broadcast packets Accept broadcast packet
13, R/W
REJALL
Receive All Packet Reject
REJALL 1 0 Description Receiver rejects all packets Normal
12, R/W
ACPTALL
Receive All Packets Enable
ACPTALL 1 0 Description
11, R/W
Receiver accepts all packets regardless of address (not including MAC control frames) Normal
DIS_OVF
Discard Overflow Packet Enable
DIS_OVF 1 0 Description
10, R/W
Discard receive packet with receive FIFO overflow error No discard
DIS_CRC
Discard CRC Error Packet Enable
DIS_CRC 1 0 Description Discard receive packet with CRC error No discard
9, R/W
4-18
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
DIS_USIZE
Discard Undersize Packet Enable
DIS_USIZE 1 0 Description Discard receive undersize packet No discard
8, R/W
DIS_OSIZE
Discard Oversize Packet Enable
DIS_OSIZE 1 0 Description Discard receive oversize packet No discard
7, R/W
Note:
Clearing this bit to 0 allows maximum packet size to be unlimited in length. Discard Codeword Error Packet Enable
DIS_CWRD 1 0 Description Discard receive packets that contain PCS codeword error No discard
DIS_CWRD
6, R/W
DIS_RXAB
Discard RXABORT Packet Enable
DIS_RXAB 1 0 Description
5, R/W
Discard receive packets that are aborted with RXABORT No discard (i.e. RXABORT pin is disabled)
RES
Reserved [4:0], R/W Must be left at default value or written to 0 for proper operation.
4.3.10 Register 9-Configuration 3
15 RES 7 CDET 6 AN_EN 14 13 AUTOCLR 5 RMXPKT1 12 AUTORXAB 4 RMXPKT2 11 CTR_RD 3 RXAB_DEF 10 CTR_ROLL 2 9 EWRAP 1 8 LCKREF 0 SD_EN
SINTF_DIS FCNTRL_DIS
Note:
RES 15-bit occurs on the REGD15 pin
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-19
RES
Reserved [15:14], R/W Must be left at default value or written to 0 for proper operation. AutoClear Mode Enable
AUTOCLR 1 0 Description TXDC and RXDC automatically cleared at next EOF TXDC and RXDC cleared by CLR_TXDC and CLR_RXDC pins, respectively
AUTOCLR
13, R/W
AUTORXAB
AutoAbort Enable
AUTORXAB 1 0 Description
12, R/W
Current packet aborted and RXDC automatically cleared at next EOF No Abort
CTR_RD
Counter Reset On Read Enable
CTR_RD 1 0 Description Counters reset to 0 when read
11, R/W
Counters not reset when read (only if count < maximum count)
CTR_ROLL
Counter Rollover Enable
CTR_ROLL 1 0 Description
10, R/W
Counters rollover to 0 after maximum count Counters stop at maximum count
EWRAP
EWRAP Pin Assert
EWRAP 1 0 Description EWRAP pin is asserted active HIGH Deassert
9, R/W
LCKREF
LCKREFn Pin Assert
LCKREF 1 0 Description LCKREFn pin is asserted Deassert
8, R/W
4-20
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
CDET
EN_CEDT Pin Assert
CDET 1 0 Description EN_CDET pin is asserted active HIGH
7, R/W
EN_CDET pin is controlled by receive PCS state machine
AN_EN
AutoNegotiation Enable
AN_EN 1 0 Description AutoNegotiation algorithm enabled Disabled
6, R/W
RMXPKT[1:0] Receive MAC Maximum Packet Size Select
RMXPKT[1:0] 11 10 01 00 Description Reserved 1535 Bytes 1522 Bytes 1518 Bytes
[5:4], R/W
Note: RXAB_DEF
Max packet size is unlimited if bit 7 = 0 RXABORT Pin Definition
RXAB_DEF 1 0 Description RXABORT pin and autoabort feature discards data RXABORT pin and autoabort feature discards data and status word
3, R/W
SINTF_DIS
System Interface Disable
SINTF_DIS 1 0 Description System interface disabled (see system interface section) Normal
2, R/W
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-21
FCNTRL_DIS FCNTRL Pin
FCNTRL_DIS Description 1 0
1, R/W
FCNTRL pin disabled (does not cause autogenerated pause frame transmission). Enabled
SD_EN
Signal Detect Pin Enable
SD_EN 1 0 Description Enabled
0, R/W
SD pin disabled, i.e., internal SD always asserted, does not affect receive word synchronization
4.3.11 Register 10-Configuration 4
15 14 13 RES 12 LPBK 11 10 9 RES 8 7 6 5 RES 0
ENDIAN BUSSIZE
LNKDN TBC_DIS
CMXPKT1 CMXPKT0
Note: ENDIAN
ENDIAN 15-bit occurs on the REGD15 pin Endian Select
ENDIAN 1 0 Description RXD/TXD data in big endian format RXD/TXD data in little endian format
15, R/W
BUSSIZE
Bus Size Word Width
BUSSIZE 1 0 Description
14, R/W
Receive system bus word width is 16 bits Receive system bus word width is 32 bits
RES
Reserved 13, [9:8], [5:0], R/W Must be left at default value or written to 0 for proper device operation. Loopback Enable
LPBK 1 0 Description Loopback mode enabled Normal
LPBK
12, R/W
4-22
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
LNKDN
Link Down FIFO Flush Enable
LNKDN 1 0 Description
11, R/W
When receive link is down, data exiting the TX FIFO is discarded Normal
TBC_DIS
TX Disable
TBC_DIS 1 0 Description
10, R/W
TBC, TX [9:0] outputs disabled (high impedance) Enabled
RES
Reserved [9:8], [5:0] R/W Must be left at default value or written to 0 for proper device operation. [7:6], R/W
CMXPKT[1:0] Counter Max Packet Size Select
CMXPKT[1:0] 11 10 01 00 Description Unlimited 1535 bytes 1522 bytes 1518 bytes
4.3.12 Register 11-Status 1
15 RSYNC 14 13 12 SD 11 LINK 10 RES 8 7 6 5 4 3 2 RES 0
RES
AN_NP AN_TX_NP AN_RX_NP AN_RX_BP AN_RMTRST
Note: RSYNC
RSYNC 15-bit occurs on the REGD15 pin Receive Word Synchronization Detect
RSYNC 1 0 Description Receive 8B10B PCS has acquired word synchronization Not synchronized
15, R/LTI
RES
Reserved [14:13], [10:8], [2:0] Must be left at default value or written to 0 for proper device operation.
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-23
SD
Signal Detect Pin Status
SD 1 0 Description SD input pin HIGH SD input pin LOW
12, R
LINK
Link Detect Status
LINK 1 0 Description
11, R/LTI
Link pass (receiver in sync, AutoNegotiation done) Link fail
AN_NP
AutoNegotiation Next Page Status
AN_NP 1 0 Description
7, R/LHI
One next page exchange done (both RX and TX) Not done
AN_TX_NP
AutoNegotiation TX Next Page Status
AN_TX_NP 1 0 Description Transmission of next page done Not done
6, R
AN_RX_NP
AutoNegotiation RX Next Page Status
AN_RX_NP 1 0 Description
5, R
Reception of next page done, next page valid Not done
AN_RX_BP
AutoNegotiation RX Base Page Status
AN_RX_BP 1 0 Description
4, R
Reception of base page done, base page valid Not done
AN_RMTRST AutoNegotiation Remote Restart Status
AN_RMTRST 1 0 Description
3, R/LHI
AutoNegotiation restarted because remote end sent restart codes or invalid characters Normal
4-24
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4.3.13 Register 14-Status Mask 1
15 14 12 11 10 8 7 MASK_AN_NP 6 4 3 2 0
MASK_RSYNC RES = 1 MASK_LINK RES = 1
RES = 1 MASK_AN_RMTRST RES = 1
Note:
MASK_RSYNC 15-bit occurs on the REGD15 pin
MASK_RSYNC Interrupt Mask - Receive Word Synchronization Detect 15, R/W
MASK_RSYNC 1 0 Description Mask interrupt for RSYNC in Register 11 No mask
RES
Reserved [14:12], [10:8], [6:4], [2:0], R/W Must be left at default value or written to 1 for proper device operation. Interrupt Mask - Link Status Detect
MASK_LINK 1 0 Description Mask interrupt for LINK in Register 11 No mask
MASK_LINK
11, R/W
MASK_AN_NP Interrupt Mask - AutoNegotiation Next Page Status
MASK_AN_NP 1 0 Description Mask interrupt for AN_NP in Register 11 No mask
7, R/W
MASK_AN_RMTRST Interrupt Mask - AutoNegotiation Remote Restart Status 3, R/W
MASK_AN_RMTRST 1 0 Description Mask interrupt for AN_RMTRST in Register 11 No mask
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-25
4.3.14 Register 17-Transmit FIFO Threshold
15 TWM1[4:0] 11 10 TWM2[4:0] 6 5 TASND[5:0] 0
Note: TWM1[4:0]
TWM1[4] 15-bit occurs on the REGD15 pin Transmit FIFO Watermark 1 Threshold
TWM1[4:0] Range Increment 11111 11110 11101 00001 00000 Description 0-1024 words (0-4096 bytes) 32 words (128 bytes) Reserved, do not use 992 words in FIFO (3968 bytes) 960 words in FIFO (3840 bytes 64 words in FIFO (256 bytes) 32 words in FIFO (128 bytes)
[15:11], R/W
.. .
TWM2[4:0]
Transmit FIFO Watermark 2 Threshold
TWM2[4:0] Range Increment 11111 11110 11101 00001 00000 Description 0-1024 words (0-4096 bytes) 32 words (128 bytes) Reserved, do not use 992 words in FIFO (3968 bytes) 960 words in FIFO (3840 bytes) 64 words in FIFO (256 bytes) 32 words in FIFO (128 bytes)
[10:6], R/W
.. .
4-26
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
TASND[5:0]
Transmit FIFO AutoSend Threshold
TASND[5:0] Range Increment 111111 111110 000010 000001 000000 Description 0-1024 words (0-4096 bytes) 8 words (32 bytes) Reserved do not use
[5:0], R/W
Transmit starts when 504 words in FIFO Transmit starts when 24 words in FIFO Transmit starts when 16 words in FIFO Transmit starts when 992 words in FIFO
.. .
Note 1:
An EOF written into FIFO also starts transmission of that packet regardless of the AutoSend threshold setting. The 0b000000 setting in TASND[5:0] lets the FIFO fill up before transmission starts, facilitating transmission of oversize packets.
Note 2:
4.3.15 Register 18-Receive FIFO Threshold
15 RWM1[7:0] 8 7 RWM2[7:0] 0
Note: RWM1[7:0]
RWM1[15] 15-bit occurs on REGD15 pin. Receive FIFO Watermark 1 Threshold
RWM1[7:0] Range Increment 11111111 11111110 11111110 00000001 00000000 Description 0-4096 words (0-16386 bytes) 16 words (64 bytes) Reserved, do not use 4080 words in FIFO (16320 bytes) 4064 words in FIFO (16256 bytes) 32 words in FIFO (128 bytes) 16 words in FIFO (64 bytes)
[15:8], R/W
.. .
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-27
RWM2[7:0]
Receive FIFO Increment = 16 Words (64 Bytes) Watermark 2 Threshold [7:0], R/W
RWM2[7:0] Range 11111111 11111110 11111110 00000001 00000000 Description 0-4096 words (0-16386 bytes) Reserved, do not use 4080 words in FIFO (16320 bytes) 4064 words in FIFO (16256 bytes) 32 words in FIFO (128 bytes) 16 words in FIFO (64 bytes)
4.3.16 Register 19-Flow Control 1
15 MCNTRL 14 13 12 MCFLTR 11 MCENDPS 10 7 6 0
.. .
MCPASS[1:0]
MCASND[3:0]
RES = 0
Note: MCNTRL
MCNTRL 15-bit occurs on REGD15 pin MAC Control Frame Enable
MCNTRL 1 0 Description Valid receive MAC control frames cause the transmitter to pause (flow control enabled) Transmitter not paused (flow control disable)
15, R/W
MCPASS[1:0] MAC Control Frame Pass Through Enable
MCPASS[1:0] Description 11 10 01 00 Valid MAC control frame that have pause opcode are passed through to receive FIFO Valid MAC control frames that have any opcode are passed through to receive FIFO Valid MAC control frames that have nonpause opcode are passed through to receive FIFO MAC control frames are not passed through to receive FIFO
[14:13], R/W
4-28
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
MCFLTR
MAC Control Frame Address Filter Enable
MCFLTR 1 Description
12, R/W
Use reserved multicast address or station address as the DA to determine MAC control pause frame validity Use any address as the DA to determine MAC control pause frame validity
0
MCENDPS
MAC Control Frame End Pause Enable
MCENDPS 1 0 Description
11, R/W
When FNCTRL is deasserted, send transmit MAC control frame with pause_time = 0 Normal
MCASND[3:0] MAC Control Frame AutoSend Threshold [10:7], R/W These bits determine the receive FIFO threshold, which causes the automatic transmission of pause frames. Autogenerated pause frame transmission is also affected by the FCNTRL pin and bit 1.
MCASND[3:0] 1111 0010 0001 0000 Description 15360 bytes 2048 bytes 1024 bytes Disabled, i.e. RX FIFO data does not cause autogenerated pause frame transmission.
.. .
RES
Reserved [6:0], R/W Must be left at defaults or written to 0 for proper operation.
4.3.17 Register 20-Flow Control 2
15 P[15:0] 0
Note:
P15 15-bit occurs on REGD15 pin
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-29
P[15:0]
Pause Time [15:0], R/W The contents of this register are inserted into the pause_time parameter field of all autogenerated transmit MAC control pause frames. Upon successful reception of these autogenerated pause frames, a remote device does not transmit data for a time interval equal to the decimal value of this register times 512 ns. P0 is the LSB. Any pause time value less than or equal to 0x32 is sent as 0x32.
4.3.18 Register 21-AutoNegotiation Base Page Transmit
15 NP 14 ACK 13 RF[2:1] 12 11 RES 9 8 PS_DIR 7 PS 6 HDX 5 FDX 4 RES 0
Note: NP
NP 15-bit occurs on REGD15 pin Next Page Enable
NP 1 0 Description Next page exists No next page
15, R/W
ACK
Acknowledge
ACK 1 0 Description
14, R/W
Received AutoNegotiation word recognized Not recognized
Note:
Writing this bit has no effect on device operation. The transmitted bit is controlled by internal state machine. Remote Fault
RF[2:1] 11 10 01 00 Description AutoNegotiation error Offline Link failure No error, link OK
RF[2:1]
[13:12], R/W
4-30
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
RES PS_DIR PS
Reserved Reserved for future IEEE use Pause Capable
PS_DIR PS 11 10 01 00 Description Capable of receive pause only Capable of transmit pause only
[11:9], R/W [8:7], R/W
Capable of transmit and receive pause Not capable
HDX
Half-Duplex Capable
HDX 1 0 Description Capable of half duplex Not capable
6, R/W
FDX
Full-Duplex Capable
FDX 1 0 Description Capable of full duplex Not capable
5, R/W
RES
Reserved Reserved for future IEEE use.
[4:0], R/W
4.3.19 Register 22-AutoNegotiation Base Page Receive
15 NP 14 ACK 13 RF[2:1] 12 11 RES 9 8 PS_DIR 7 PS 6 HDX 5 FDX 4 RES 0
Note: NP
NP 15-bit occurs on the REGD15 pin. Next Page Enable
NP 1 0 Description Next page exists No next page
15, R
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-31
ACK
Acknowledge
ACK 1 0 Description
14, R
Received AutoNegotiation word recognized Not recognized
RF[2:1]
Remote Fault
RF[2:1] 11 10 01 00 Description AutoNegotiation error Offline Link failure No error, link OK
[13:12], R
RES PS_DIR, PS
Reserved Reserved for future IEEE use. Pause Capable
PS_DIR, PS 11 10 01 00 Description
[11:9], [4:0], R [8:7], R
Capable of receive pause only Capable of transmit pause only Capable of transmit and receive pause only Not capable
HDX
Half-Duplex Capable
HDX 1 0 Description Capable of half-duplex Not capable
6, R
FDX
Full-Duplex Capable
FDX 1 0 Description Capable of full-duplex Not capable
5, R
4-32
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4.3.20 Register 23-AutoNegotiation Next Page Transmit
15 NP 14 ACK 13 PAGETYPE 12 ACK2 11 TOGGLE 10 MSG[10:0] 0
Note: NP
NP 15-bit occurs on REGD15 pin Next Page Enable
NP 1 0 Description Additional next page exists This is the last next page
15, R/W
ACK
Acknowledge
ACK 1 0 Description
14, R/W
Received AutoNegotiation word recognized Not recognized
Note:
Writing this bit has no effect on device operation. The transmitted bit is controlled by internal state machine. Page Type
PAGE 1 0 Description Message page Unformatted page
PAGE
13, R/W
ACK2
Acknowledge 2
ACK2 1 0 Description
12, R/W
Able to comply with the received message Not able to comply
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-33
TOGGLE
Toggle Bit
TOGGLE 1 0 Description
11, R/W
Value of the toggle bit in previously transmitted AutoNegotiation word was 0 Value of the toggle bit in previously transmitted AutoNegotiation word was 1
Note:
Writing this bit has no effect on device operation. The transmitted bit is controlled by internal state machine. Message [10:0], R/W These bits carry the 11-bit message associated with this next page. Refer to IEEE 802.3z specifications for details on the format and definition of these bits.
MSG[10:0]
4.3.21 Register 24-AutoNegotiation Next Page Receive
15 NP 14 ACK 13 PAGETYPE 12 ACK2 11 TOGGLE 10 MSG[10:0] 0
Note: NP
NP 15-bit occurs on the REGD15 pin Next Page Enable
NP 1 0 Description Additional next page exists This is last next page
15, R
ACK
Acknowledge
ACK 1 0 Description
14, R
Received AutoNegotiation word recognized Not recognized
PAGETYPE
Page Type
PAGETYPE 1 0 Description Message page Unformatted page
13, R
4-34
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
ACK2
Acknowledge 2
ACK2 1 0 Description
12, R
Able to comply with the received message Not able to comply
TOGGLE
Toggle Bit
TOGGLE 1 0 Description
11, R
Value of the toggle bit in previous transmitted AutoNegotiation word was 0 Value of the toggle bit in previous transmitted AutoNegotiation word was 1
MSG[10:0]
Message [10:0], R These bits carry the 11-bit message associated with this next page. Refer to the IEEE 802.3z specifications for details on the format and definition of these bits.
4.3.22 Register 32-Device ID
15 PART[3:0] 12 11 HREV[3:0] 8 7 RES 4 3 SREV[3:0] 0
Note: PART[3:0]
PART[3] 15-bit occurs on the REGD15 pin. Part Number [15:12], R This field contains a 4-bit number that uniquely identifies the device. Hardware Revision Number [11:8], R This field contains a 4-bit number that identifies that a revision was made to the device and the revision did not affect any register bit definitions. Reserved Reserved for future use. [7:4], R/W
HREV[3:0]
RES SREV[3:0]
Software Revision Number [3:0], R/W This field contains a 4-bit number that identifies that a revision was made to the device and the revision did affect register bit definitions.
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-35
4.3.23 Register 112-115-Counter Half Full 1-4
15 HFULL[15:0] 0
Note:
HFULL[15] 15-bit occurs on the REGD15 pin.
HFULL[15:0] Counter Half Full Detect [15:0], R/LHI These bits indicate when a counter is near overflow is half full. These four registers contain 53 counter half-full detect bits, one bit for each of the 53 counters. Bit 0 in Counter Half Full Register 0 corresponds to Counter 1 as listed in Table 4.1; bit 15 in Counter Half Full Register 0 corresponds to Counter 16; bit 4 of Counter Half Full Register 4 corresponds to Counter 53.
HFULL[15:0] 1 0 Description Counter has reached a count of 0x80000000, (half full). Count < 0x80000000
4.3.24 Registers 120-123-Counter Half Full Mask 1-4
15 MASK_HFULL[15:0] 0
Note:
MASK_HFULL[15] 15-bit occurs on the REGD15 pin
MASK_HFULL[15:0] Counter Half Full Detect Mask [15:0], R/W The MASK_HFULL[15:0] bits mask (disable) the interrupt caused by the counter half-full detect bits. These four registers contain 53 mask bits, one bit for each of the 53 half-full detect bits. Bit 0 in Counter Half Full Mask Register 0 masks the interrupt caused by the half full detect bit for Counter 1; bit 15 in Counter Half Full Mask Register 0 corresponds to Counter 16; bit 4 in Counter Half Full Mask Register 3 corresponds to Counter 53.
4-36
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
MASK_HFULL[15:0] Description 1 Mask (disable) the interrupt caused by the corresponding Counter Half Full Detect Bit. No mask
0
4.3.25 Registers 128-233-Counter 1-53
15 C[15:0] 0
Note: C[15:0]
C15 15-bit occurs on the REGD15 pin. Counter Result Value [15:0], R These 106 registers contain the results of the 53 32-bit management counters. Each 32-bit counter result value resides in two 16-bit registers. For the two registers associated with each counter, the register with the lower value address always contains the least-significant 16 bits of the counter result. C0 of the lower value address is the counter LSB; C15 of the higher value is the counter MSB. The definition and register address for each counter is shown in Table 2.14. The register address for each counter is also shown in Table 4.2.
Register Definitions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
4-37
4-38
Registers
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Chapter 5 Application Information
This Chapter provides application information for the 8101/8104 Gigabit Ethernet Controller. The chapter contains the following sections
* * * * * * * * *
Section 5.1, "Typical Ethernet Port" Section 5.2, "10-Bit PHY Interface" Section 5.3, "System Interface" Section 5.4, "Reset" Section 5.5, "Loopback" Section 5.6, "AutoNegotiation" Section 5.7, "Management Counters" Section 5.8, "TX Packet and Octet Counters" Section 5.9, "Power Supply Decoupling"
8101/8104 Gigabit Ethernet Controller
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-1
5.1 Typical Ethernet Port
A typical example of a Gigabit Ethernet switch port using the 8101/8104 controller is shown in Figure 5.1. Figure 5.1 Gigabit Ethernet Switch Port Using the 8101/8104
MAC PHY
TX DATA
32 8101/8104 Gigabit MAC + PCS IEEE 802.3 10-Bit Interface Serializer/ Deserializer IC ANSI PECL Interface Fiber Optic Transceiver Optical Fiber
RX DATA MGMT
32 16
5.2 10-Bit PHY Interface
The 10-bit PHY interface directly couples to any external physical layer device that complies with the IEEE 802.3z or the 10-bit ANSI X3.230 interface standards.
5.2.1 External Physical Layer Devices
In a typical configuration, the controller is connected to an external Serializer/Deserializer (SerDes) Integrated circuit, as shown in Figure 5.1. A list of SerDes devices whose specifications are compatible with and can directly connect to the controller is shown in Table 5.1.
5-2
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 5.1
Vendor Vitesse
Compatible SerDes Devices
Device No. VSC7135 HDMP-1636 HDMP-1646 CXB1589Q 52052 TQ9506
Hewlett-Packard Sony AMCC TriQuint
5.2.2 Printed Circuit Board Layout
The 10-bit PHY interface clocks data at 125 MHz. The setup and hold times on the timing signals are very short. The outputs are specified assuming a maximum load of only 10 pf. For these reasons, it is imperative that the SerDes or other physical layer device be placed as close as possible to the controller, preferably within one inch. In addition, care should be taken to eliminate any extra loading on all the 10-bit PHY interface signal lines. Also, the clock and data lines in both receive and transmit directions should be routed along the same paths so that they have similar parasitics and delays, to prevent degrading setup and hold times. Termination is not necessary if these precautions are taken.
5.3 System Interface
The system interface requires the selection of watermarks and close attention to printed circuit board layout.
5.3.1 Watermarks
There are two independent watermarks on both the transmit and receive FIFOs. The usage of these watermarks is unspecified and is left to the discretion of the system designer. Below are three examples of watermark usage based on transferring data in any of the following ways:
* * *
Complete packets Fixed block sizes Variable block sizes
System Interface
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-3
5.3.1.1 Complete Packet Watermarks To transfer data to and from the controller in completed packets, only one watermark is needed. Either transmit watermark could be chosen for this application. On the receive side, RXWM2 should be chosen because it is asserted when a complete packet is loaded into the RX FIFO. The transmit and receive watermark thresholds should preferably be set to a value equal to or larger than the maximum size packet (1518 bytes or greater). On the transmit side, the data is written into the TX FIFO in complete packet bursts when the system requires. On the receive side the data is read out of the RX FIFO beginning with the assertion of RXWM2 and ending when RXEOF is asserted. 5.3.1.2 Fixed Block Watermarks To transfer data to and from the controller in fixed block sizes (64 bytes at a time, for example), only one watermark is needed. Either transmit watermark could be chosen for this application. On the receive side, RXWM2 should be chosen because it is asserted when a complete packet is loaded into the RX FIFO. The transmit watermark threshold is set to a low value (64 bytes for example), and the receive watermark thresholds preferably are set to a value equal to or greater than the fixed cell size (64 bytes in this example). On the transmit side, the data is written into the TX FIFO in fixed block size bursts when the system requires. When the transmit watermark is deasserted, another block must be written into the TX FIFO. On the receive side, the data is read out of the RX FIFO beginning with the assertion of RXWM2 and ending when the fixed block has been read out (64 bytes in this example) or RXEOF has been asserted. 5.3.1.3 Variable Block Watermarks To transfer data to and from the controller in variable cell sizes, two watermarks are needed. The TXWM1n and RXWM1 watermark thresholds are set to some low value (64 bytes for this example) while the TXWM2n and RXWM2 watermark thresholds are set to some high value (1024 bytes for example). On the transmit side, the data is written into the TX FIFO when the system requires. If TXWM2n is asserted, the data input must be halted. If TXWM1n is deasserted, the data input must be resumed. In this way, the TX FIFO contents are kept between the high and low watermark thresholds, which potentially increses the external
5-4
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
system loading efficiency. Similarly, on the receive side the data must be read out of the RX FIFO when RXWM2 is asserted. If RXWM1 is deasserted, or RXEOF is asserted, the data output must be halted. If RXWM2 is asserted the data output must be resumed. In this way, the RX FIFO contents are kept between the high and low watermarks. The transmit and receive watermarks can also be used to indicate that the FIFO is full or empty (or almost full or almost empty), if desired.
5.3.2 PCB Layout
Because the data rate of the system interface can be as high as 66 MHz, care should be taken to keep PCB trace lengths of all critical signals as short as possible, preferably less than 2 inches in length. If this guideline is followed termination is not necessary.
5.4 Reset
While the device is being reset, it transmits valid 10B symbols out of the 10-bit PHY interface on TXD[0:9] and TBC. If the device is reset with the RESETn pin for a long period of time, these 10B symbols may be mistakenly decoded as valid packet information and fill up the memory in a remote device. The reset procedure outlined in Table 5.2 avoids this situation and is recommended for use when the RESETn pin is asserted for long periods of time. When the reset bit is used for device reset the above situation is avoided because the reset bit is self-clearing in 1 s.
Reset
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-5
Table 5.2
Step 1 2
Reset Procedure
Result Stop transmission of data from the 10-bit PHY interface to SerDes. Insures that the remote device receiver detects that the link has been broken so it will not decode 10B data as valid. Start the reset period. Allow enough time for all circuits in controller to be reset. Stop the reset period. Turns on 10-bit PHY interface and returns controller to normal operation.
Action Set the TBC_DIC bit Wait for more than 20 s
3 4 5 6
Assert RESETn Wait more than 10 s. Deassert RESETn Clear the TBC_DIC bit
5.5 Loopback
The controller has a loopback mode, but most external SerDes devices connected to the controller 10-bit PHY interface also have a loopback mode. Sometimes it is desirable to use the SerDes loopback mode instead of the controller loopback mode because the SerDes loopback mode tests a larger and/or different section of the system circuitry. When the SerDes loopback mode is used, it is recommended that the procedure outlined in Table 5.3 be followed.
5-6
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 5.3
STEP 1 2 3 4
SerDes Loopback Procedure
Result
Action
Set the REJALL bit in Register 8 Ignore all receive data until the loopback mode is ready for operation. Set the EWRAP bit in Register 9 Enable the external SerDes loopback mode. Clear the SD_EN bit in Register 9 Set the TBC_DIS bit in Register 10 Wait more than 200 s Clear the TBC_DIS bit in Register 10 Wait more than 200 s Clear the REJALL bit in Register 8 Do loopback tests Clear the EWRAP bit, and set the SD_EN bit in Register 9 (if SD pin is used) Turn off the SerDes loopback mode and enable the signal detect function (if used). Ignore the signal detect output from optical transceiver because the receive optical data may be invalid. Stop transmission of data out of 10-bit PHY interface which causes the SerDes and controller to lose sync so that they properly resync to the new data stream. Allow time for the SerDes and controller receivers to lose sync. Turn on the transmitter so that the SerDes and controller receivers can gain sync. Allow time for the SerDes and controller receivers to gain sync. Stop ignoring receive data and turn on the receive MAC.
5 6 7 8 9 10
11
Set the ANRST bit in Register 7 Restarts AutoNegotiation. Controller is ready for normal operation when AutoNegotation is completed.
5.6 AutoNegotiation
AutoNegotiation is a handshake operation between the controller and the external device (see Section 2.15, "AutoNegotiation"). If the external device is capable of AutoNegotiation, the procedures described in Section 5.6.1, "AutoNegotiation at Power Up" should be followed. If the external device is not capable of AutoNegotiation, refer to Section 5.6.2, "Negotiating with a Non-AutoNegotiation Capable Device".
AutoNegotiation
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-7
5.6.1 AutoNegotiation at Power Up
When the device is powered up the AutoNegotiation algorithm must handshake with the remote device to configure itself for a common mode of operation. To insure smooth and proper AutoNegotiation operation at power up it is recommended that the procedure outlined in Table 5.4 be followed. Table 5.4
STEP 1 2 3 4 5 6 7
AutoNegotiation Power Up Procedure
Result
Action
Wait for the SD pin to go HIGH (If Waits for valid data from the optical transceiver. SD is not used, go to the next step.) Set RST bit in Register 7 Set bits [15:0] in Register 21 Set the remaining register bits as needed. Set ANRST bit in Register 7 Wait > 50 s Read LINK bit in register 11 twice. If 0, then done. If 1, repeat #5-7 (up to seven times). Clear AN_EN bit in Register 9 Clear ANRST bit in Register 7 Wait > 100 s Read LINK bit in Register 11 twice. If 0, go to first step. If 1, done. Resets the device. Sets up the capabilities for AutoNegotiation. Sets up the device for the desired operation. Restarts AutoNegotiation. Wait for AutoNegotiation to complete. Determine if AutoNegotiation done and link pass. If link pass, device ready for operation. If link fail, retry again seven more times. If no link pass after seven times, disable ANEG and try manual link pass. Disable AutoNegotiation. Clears all internal AutoNegotiation circuitry. Wait for manual link pass. If manual link pass, then device ready for operation. If link fail, then redo procedure until link pass is achieved.
8 9 10 11
5-8
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5.6.2 Negotiating with a Non-AutoNegotiation Capable Device
When the controller has AutoNegotiation enabled and the remote device to which it is connected has the AutoNegotiation disabled (or does not have AutoNegotiation capability at all), the controller stays in the link fail state and continually restarts AutoNegotiation because it cannot complete a negotiation sequence successfully. Conversely, the remote device goes to the link pass state because it sees the AutoNegotiation words transmitted to it as valid idle symbols. For proper operation between two devices, the controller and the remote device must both be either set with AutoNegotiation enabled or set with AutoNegotiation disabled.
5.7 Management Counters
The controller management counters provide the necessary statistics to completely support the following IETF and IEEE specifications:
* * * *
IETF RFC 1757: IETF RFC 1213 and 1573 IETF RFC 1643: IEEE 802.3/Cl. 30:
RMON Statistics Group SNMP Interfaces Group Ethernet-Like MIB Ethernet MIB
A complete list of the counters along with their definitions was already defined in Table 2.14. A map of the actual MIB objects from the IETF and IEEE specifications to the specific controller counters is shown below in Table 5.5-Table 5.8.
Management Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-9
Table 5.5
MIB Objects vs. Counter Location for RMON Statistics Group MIB (RFC 1757)
Counter Location Register Address (Low/High) 0b10000000 0b10000001 0b10000010 0b10000011 0b10000100 0b10000101 0b10000110 0b10000111 0b10001000 0b10001001 0b10001010 0b10001011 0b10001100 0b10001101 0b10001110 0b10001111 0b10010000 0b10010001 0b10010010 0b10010011 0b10010100 0b10010101 0b10010110 0b10010111 0b10011000 0b10011001 0b10011010 0b10011011
MIB Objects etherStatsDropEvents etherStatsOctets etherStatsPkts etherStatsBroadcastPkts etherStatsMulticastPkts etherStatsCRCAlignErrors etherStatsUndersizePkts etherStatsOversizePkts etherStatsFragments etherStatsJabber etherStatsCollisions etherStatsPkts64Octets etherStatsPkts65to127Octets etherStatsPkts128to255Octets
Counter 1 2 3 4 5 6 7 8 9 10 11 12 13 14
5-10
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 5.5
MIB Objects vs. Counter Location for RMON Statistics Group MIB (RFC 1757) (Cont.)
Counter Location Register Address (Low/High) 0b10011100 0b10011101 0b10011110 0b10011111 0b10100000 0b10100001
MIB Objects etherStatsPkts256to511Octets etherStatsPkts512to1023Octets etherStatsPkts1024to1518Octets
Counter 15 16 17
Table 5.6
MIB Objects vs. Counter Location for SNMP Interface Group MIB (RFC 1213 and 1573)
Counter Location Counter # 28 29 5 4 5 and 4 Register Address (Low/High) 0b10110110 0b10110111 0b10111000 0b10111001 0b10001000 0b10001001 0b10000110 0b10000111 0b10001000 0b10001001 and 0b10000110 0b10000111 0b10000000 0b10000001
MIB Objects ifInOctets ifInUcastPkts ifInMulticastPkts ifInBroadcastPkts ifInNUcastPkts
ifInDiscards
1
Management Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-11
Table 5.6
MIB Objects vs. Counter Location for SNMP Interface Group MIB (RFC 1213 and 1573) (Cont.)
Counter Location Counter # 6 and 7 and 8 Register Address (Low/High) 0b10001010 0b10001011 and 0b10001100 0b10001101 and 0b10001110 0b10001111 0b10111010 0b10111011 0b10111100 0b10111101 0b10111110 0b10111111 0b11000000 0b11000001 0b10111110 0b10111111 and 0b11000000 0b11000001 0b11000010 0b11000011 0b11000100 0b11000101
MIB Objects ifInErrors
ifOutOctets ifOutUcastPkts ifOutMulticastPkts ifOutBroadcastPkts ifOutNUcastPkts
30 31 32 33 32 and 33
ifOutDiscards ifOutErrors
34 35
5-12
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 5.7
MIB Objects vs. Counter Location for Ethernet-Like Group MIB (RFC 1643)
Counter Location Counter # 36 6 38 39 40 41 42 43 34 44 8 1 Register Address (Low/High) 0b11000110 0b11000111 0b10001010 0b10001011 0b11001010 0b11001011 0b11001100 0b11001101 0b11001110 0b11001111 0b11010000 0b11010001 0b11010010 0b11010011 0b11010100 0b11010101 0b11000010 0b11000011 0b11010110 0b11010111 0b10001110 0b10001111 0b10000000 0b10000001
MIB Objects dot3StatsAlignmentErrors dot3StatsFCSErrors dot3StatsSingleCollisionFrames dot3StatsMultipleCollisionFrames dot3StatsSQETestErrors dot3StatsDeferredTransmissions dot3StatsLateCollisions dot3StatsExcessiveCollisions dot3StatsInternalMacTransmitErrors dot3StatsCarrierSenseErrors dot3StatsFrameTooLongs dot3StatsInternalMacReceiveErrors
Management Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-13
Table 5.8
MIB Objects vs. Counter Location For Ethernet MIB (IEEE 802.3z, Clause 30)
Counter Location Counter # 19 through 35 Register Address (Low/High) 0b10100100 0b10100101 through 0b11000100 0b11000101 0b11001010 0b11001011 0b11001100 0b11001101 0b10111000 0b10111001 and 0b10000110 0b10000111 and 0b10001000 0b10001001 0b10001010 0b10001011 0b11000110 0b11000111 0b11011000 0b11011001 0b11010000 0b11010001 0b11010010 0b11010011 0b11010100 0b11010101 0b11000010 0b11000011 0b11010110 0b11010111
MIB Objects aFramesTransmittedOK
aSingleCollisionFrames aMultipleCollisionFrames aFramesReceivedOK
38 39 29 and 4 and 5
aFrameCheckSequenceErrors aAlignmentErrors aOctetsTransmittedOK aFramesWithDeferredXmissions aLateCollisions aFrameAbortedDueToXSCollisions aFrameAbortedDueToIntMACXmitError aCarrierSenseErrors
6 36 45 41 42 43 34 44
5-14
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 5.8
MIB Objects vs. Counter Location For Ethernet MIB (IEEE 802.3z, Clause 30) (Cont.)
Counter Location Counter # 46 1 21 20 47 5 4 48 49 8 40 50 52 53 Register Address (Low/High) 0b11011010 0b11011011 0b10000000 0b10000001 0b10101000 0b10101001 0b10100110 0b10100111 0b11011100 0b11011101 0b10001000 0b10001001 0b10000110 0b10000111 0b11011110 0b11011111 0b11100000 0b11100001 0b10001110 0b10001111 0b11001110 0b11001111 0b11100010 0b11100011 0b11100110 0b11100111 0b11101000 0b11101001
MIB Objects aOctetsReceivedOK aFramesLostDueToIntMACRcvrError aMulticastFrameXmittedOK aBroadcastFramesXmittedOK aFramesWithExcessiveDefferal aMulticastFramesReceivedOK aBroadcastFramesReceivedOK aInRangeLengthErrors aOutOfRangeLengthField aFrameTooLongErrors aSQETestErrors aSymbolErrorDuringCarrier aMACControlFramesTransmitted aMACControlFramesReceived
Management Counters
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-15
Table 5.8
MIB Objects vs. Counter Location For Ethernet MIB (IEEE 802.3z, Clause 30) (Cont.)
Counter Location Counter # 51 52 53 Register Address (Low/High) 0b11100100 0b11100101 0b11100110 0b11100111 0b11101000 0b11101001
MIB Objects aUnsupportedOpcodesReceived aPauseMACCtrlFramesTransmitted aPauseMACCtrlFramesReceived
5.8 TX Packet and Octet Counters
The controller counter set includes packet and octet counters for the transmit and receive packets. The RMON specifications state that packet and octet counters should only tabulate received information. This is sometimes interpreted to mean both transmitted and received information, because Ethernet was originally a shared media protocol. As such, the tables above only point to receive packet and octet counters, but the transmit packet and octet counters are also available in counters 17 through 26 and can be summed with the receive packet and octet counts if desired.
5.9 Power Supply Decoupling
There are 23 VCCs (VCC[22:0]) and 31 GNDs (GND[30:0]) on the controller. All GNDs should also be connected to a large ground plane. If the GNDs vary in potential by even a small amount, noise and latch up can result. The GNDs should be kept to within 50 mV of each other. Some of the VCC pins on the controller go to the internal core logic, and the remaining VCCs go to the I/O buffers. The core and I/O VCCs should be isolated from each other to minimize jitter on the 10-bit PHY interface. It is recommended that all of the I/O VCCs be directly connected to a large VCC plane. It is also recommended that the core VCCs (pins 70,
5-16
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
97, 135, 147, and193 of the 8101 or pins B6, D13, G14, N13, and R7 of the 8104) be isolated from the I/O VCCs with a 2-ohm resistor between the VCC plane and the device core VCC pins, as shown in Figure 5.2. Figure 5.2 Decoupling Recommendations
3.3 V VCC Plane Ferrite Bead 2 Ferrite Bead Analog Digital VCC VCC [4] SerDes GND
VCC [1] [5] Other Devices GND [1]
I/O VCC [3]
Core VCC [1] [2]
[2]
8101/8104 Controller GND
GND Plane
Notes: [1] It is recommended that a 0.1/0.001 F pair of capacitors for every four VCCs less than 0.5 inches from the device VCC/GND pins, evenly distributed around all four sides of the devices. [2] Same as Note [1] except every two VCCs. [3] Core VCC pins are 70, 97, 135, 147, and 193 of the 8101 or pins B6, D13, G14, N13, and R7 of the 8104. All remaining VCC pins are I/O VCCs. [4] These are generic recommendations for SerDes. Follow any recommendations fromthe specific SerDes manufacturer. [5] This is a generic recommendation for other digital devices. Follow any recommendations from the spevific device manufacturers.
The 2 ohm resistor will reduce the amount of noise coupling from the I/O VCCs to the core VCCs. A resistor is recommended over a ferrite bead because the inductance of a ferrite bead can induce noise spikes at the device pins. Decoupling capacitors should then be placed between the device VCC pins and GND plane, as shown in Figure 5.2 and described as follows. The external SerDes device that is typically connected to the 10-bit PHY interface can also be very sensitive to noise from the VCC plane. Recommendations from the manufacturer of the SerDes device used should be followed. Generically, it has been found from practice that the SerDes should be isolated from all devices on the PCB with a ferrite bead between the VCC plane and all of the SerDes VCC pins, as shown in Figure 5.2. In addition, it has been found from practice that the analog
Power Supply Decoupling
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
5-17
and digital VCC pins on the SerDes device should be isolated from each other with a ferrite bead placed between the analog SerDes VCC pins and the digital SerDes VCC pins, as shown in Figure 5.2. Decoupling capacitors should then be placed between the SerDes device VCC pins and GND plane, as shown in Figure 5.2 and described as follows. For the controller and other digital devices there should be a pair of 0.1 f and 0.001 f decoupling capacitors connected between VCC and GND for every four sets of VCC/GND pins placed as close as possible to the device pins, preferably within 0.5" and evenly distributed around all four sides of the devices. For the external SerDes device, there should be a pair of 0.1/0.001 f capacitors for every two sets of VCC/GND pins. The 0.1 f and 0.001 f capacitors reduce the LOW and HIGH frequency noise, respectively, on the VCC at the device. The PCB layout and power supply decoupling discussed above should provide sufficient decoupling to achieve the following when measured at the device:
* * *
The resultant AC noise voltage measured across each VCC/GND set should be less than 100 mVpp. All VCCs should be within 50 mVpp of each other. All GNDs should be within 50 mVpp of each other.
5-18
Application Information
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Chapter 6 Specifications
This Chapter describes the specifications of the 8101/8104 Gigabit Ethernet Controller and consists of the following Sections:
* * * * * *
Section 6.1, "Absolute Maximum Ratings" Section 6.2, "DC Electrical Characteristics" Section 6.3, "AC Electrical Characteristics" Section 6.4, "8101/8104 Pinouts and Pin Listings" Section Figure 6.13, "8104 208-Pin BGA Pinout" Section 6.5, "Package Mechanical Dimensions"
6.1 Absolute Maximum Ratings
Absolute maximum ratings are limits, which when exceeded may cause permanent damage to the device or affect device reliability. All voltages are specified with respect to GND, unless otherwise specified. VCC supply voltage All inputs and outputs Package power dissipation Storage temperature Temperature under bias Lead temperature (soldering, 10 sec) Body temperature (soldering, 30 sec) -0.3 V to 4.0 V -0.3 V to 5.5 V 2.2 Watt @ 70 C -65 to +150 C -10 to +85 C 260 C 220 C
8101/8104 Gigabit Ethernet Controller
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-1
6.2 DC Electrical Characteristics
Table 6.1 lists and describes the DC electrical characteristics of the 8101/8104. Unless otherwise noted, all test conditions are as follows:
* * * *
Table 6.1
TA = 0 to +70 C VCC = 3.3 V 5% SCLK = 66 MHz 0.01% TCLK = 125 MHz 0.01%
DC Electrical Characteristics
Limit
Symbol VIL VIH IIL IIH VOL
Parameter Input LOW voltage Input HIGH voltage Input LOW current Input HIGH current Output LOW voltage
Min - 2 - - GND GND
Typ - - - - - - - - - -
Max 0.8 5.5 -1 1 0.4 1 VCC VCC 5 300
Unit Volt Volt A A Volt Volt Volt Volt pF mA
Conditions
VIN = GND VIN = VCC IOL = -4 mA All except LINKn IOL = -20 mA LINKn IOL = 4 mA All except LINKn IOL = 20 mA LINKn
VOH
Output HIGH voltage
2.4 VCC - 1.0
CIN ICC
Input capacitance VCC supply current
- -
No output load
6-2
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6.3 AC Electrical Characteristics
The following tables list and describe the the AC electrical characteristics of the 8101/8104. Unless otherwise noted, all test conditions are as follows:
* * * * * *
TA = 0 to +70 C VCC = 3.3 V 5% SCLK = 66 MHz 0.01% TCLK = 125 MHz 0.01% Input conditions: All Inputs: tr, tf 4 ns, 0.8 V to 2.0 V Output loading TBC, TX[0:9]: 10 pF LINK: 50 pF All other digital outputs: 30 pF
*
Measurement points: Data active to 3-state: 200 mV change Data 3-state to active: 200 mV change All inputs and outputs: 1.5 Volts
AC Electrical Characteristics
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-3
Table 6.2
Input Clock Timing Characteristics
Limit
Symbol t1 t2 t3 t4 t5 t6 t7 t8
Parameter SCLK cycle time SCLK duty cycle TCLK period TCLK HIGH time TCLK LOW time TCLK to TBC delay REGCLK cycle time REGCLK duty cycle
Min 1/33 40 7.9992 3.6 3.6 0 1/5 40
Typ
Max 1/66 60
Unit 1 MHz % ns ns ns ns 1 MHz %
Conditions
8
8.0008 4.4 4.4 8 1/40 60
Note: Figure 6.1
Refer to Figure 6.1 for timing diagram. Input Clock Timing
t1
SCLK t2 t3 TCLK t6 TBC t7 REGCLK t8 t8 t4 t5 t2
System Interface
10-Bit PHY Interface
Register Interface
6-4
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 6.3
Transmit System Interface Timing Characteristics
Limit
Symbol t11 t12
Parameter TXENn setup time TXENn hold time
Min 5 0 1 SCLK cycle
Typ
Max
Unit ns ns
Conditions
t13
TXENn deassert time TXD, TXBE, TXSOFn, TXEOF, and TXCRC setup time TXD, TXBE, TXSOFn, TXEOF, and TXCRC hold time TXWMn delay time TXWMn rise/fall time
ns
t14 t15
5 0
ns ns
t16 t17
0
8 4
ns ns
Note:
Refer to Figure 6.2 for timing diagram.
AC Electrical Characteristics
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-5
Figure 6.2
SCLK
Transmit System Interface Timing
6-6
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
t16 TXWMn[2:1] t11 TX_ENn t15 t14 TXD[31:0] t15 t14 TXBE[3:0] t14 TXSOF t15
t16
t12
[1]
Specifications
t13
t14 TXEOF t14 TXCRCn t15
t15
Note: [1] Back-to-back packet transmission allowed without TXENn deassertion.
Table 6.4
Receive System Interface Timing Characteristics
Limit
Symbol t31 t32
Parameter RXENn setup time RXENn hold time
Min 5 1 3 SCLK cycles
Typ
Max
Unit ns ns
Conditions
t33
RXENn deassert time RXD, RXBE, RXSOF, RXEOF, and RXWM delay time RXD, RXBE, RXSOF, RXEOF, and RXWM rise/fall time RXABORT setup time RXABORT hold time
ns
t34
0
8
ns
t35 t41 t42
4 5 0 1 SCLK cycles + 8 ns
ns ns ns
t43
RXABORT assert to RXWM deassert delay RXOEn deassert to data High-Z delay RXOEn assert to data active delay
0
ns
t46
0
15
ns
t47
0
15
ns
Note:
Refer to Figure 6.3-Figure 6.5 for timing diagrams.
AC Electrical Characteristics
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-7
Figure 6.3
SCLK
Receive System Interface Timing
6-8
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
t34 RXWM1
t34
t34 RXWM2 t31 RX_ENn t33 t34 RXD[31:0]
First Word Last Word Status Word First Word
Specifications
t32
t34 RXBE[3:0]
1111 1111 1111 1111 1111 1111 1111 00011111 1111 1111 1111 1111
t34 RXSOF
t34
t34 RXEOF
t34
Figure 6.4
SCLK
Receive System Interface RXABORT Timing
t43 RXWM[2:1]
RX_ENn t41 RXABORT t42
RXD[31:0]
First Word
Aborted Packet Status Word
RXBE[3:0]
1111
1111 11 11
1111
1111
1111
RXSOF
RXEOF
Figure 6.5
RXOEn
Receive System Interface RXOEn Timing
t46 RXD[31:0] RXBE[3:0] RXSOF RXEOF
High-Z
t47
AC Electrical Characteristics
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-9
Table 6.5
System Interface RXDC/TXDC Timing Characteristics
Limit
Symbol Parameter t51 t52 TXDC/RXDC assert delay time TXDC/RXDC deassert delay time
Min 0 0
Typ
Max 8 2 SCLK cycle + 8 ns 3 SCLK cycle + 8 ns
Unit ns ns
Conditions
AutoClear mode off
0
ns
AutoClear mode on
t53 t54
CLR_TXDC/RXDC setup time CLR_TXDC/RXDC hold time TXDC/RXDC rise and fall time
5 0 4
ns ns ns
Note: Figure 6.6
SCLK
Refer to Figure 6.6 for timing diagram.
System Interface RXDC/TXDC Timing
TXENn RXENn t51 TXDC RXDC t53 CLR_TXDC CLR_RXDC t54
Autoclear Mode Off
t52
TXEOF
Autoclear Mode Off
RXEOF
6-10
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 6.6
Transmit 10-Bit PHY Interface Timing Characteristics
Limit
Symbol t61 t62 t63
Parameter TBC period TBC HIGH time TBC LOW time TX[0:9] data valid before TBC rising edge TX[0:9] data valid after TBC rising edge TBC, TX[0:9] rise and fall time
Min 7.992 3.2 3.2
Typ 8
Max 8.008 4.8 4.8
Unit ns ns ns
Conditions
t64
2.0
ns
Assumes TBC duty cycle = 40-60% Assumes TBC duty cycle = 40-60%
t65
1.0
ns
t66
0.7
2.4
ns
Note: Figure 6.7
Refer to Figure 6.7 for timing diagram.
Transmit 10-Bit PHY Interface Timing
t61 t66 t66
TBC t64 TX[0:9] t65 t62 t63 t66
AC Electrical Characteristics
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-11
Table 6.7
Receive 10-Bit PHY Interface Timing Characteristics
Limit
Symbol Parameter
t71 t
Min 62.4937 6.4 6.4
Typ 62.5
Max 62.5063 9.6 128 9.6 128 8.5
Unit MHz ns ns ns ns ns ns ns
Conditions
RBC frequency RBC HIGH time
72
During synchronization
t
73
RBC LOW time
6.4 6.4
During synchronization
t
74
RBC skew RX[0:9] setup time RX[0:9] hold time RBC, RX[0:9] rise and fall time
7.5 2.5 1.5 0.7
t75 t76 t77
2.4
ns
Note: Figure 6.8
Refer to Figure 6.8 for timing diagram.
Receive 10-Bit PHY Interface Timing
t71 t77 t77
RBC1 t72 t74 RBC0 t76 t75 RX[0:9] t75 t76 t72 t73 t77 t73 t71 t77 t77
6-12
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 6.8
Register Interface Timing Characteristics
Limit
Symbol t81
Parameter REGCSn, REGWRn, REGRDn, REGA, REGD setup time REGCSn, REGWRn, REGRDn, REGA, REGD hold time REGCLK to REGD active delay
Min 10
Typ
Max
Unit ns
Conditions
t82
1
ns
t83
10
ns
Read cycle. All registers except Counter Registers 1-53 Read cycle. Counter Registers 1-53, first 16 bits of counter result Read cycle. Counter Registers 1-53, second 16 bits of counter result
6 REGCLK cycles + 10 ns 3 REGCLK cycles + 10 ns t84 t85 t86 t87 REGCLK to REGD 3-state delay REGCLK to REGINT assert delay REGCLK to REGINT deassert delay Deassertion time between reads 0 0 0 4 REGCLK 10 20 20
ns
ns
ns ns ns
Note:
Refer to Figure 6.9 and Figure 6.10 for timing diagrams.
AC Electrical Characteristics
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-13
Figure 6.9
Register Interface Timing (Excluding Counter Read Cycle)
t7
REGCLK t82 t81 REGCSn t82 t81 REGWRn t82 t81 REGRDn t81 REGA{7:0] t82 t81 REGD[15:0]
High-Z Data In High-Z
t8
t8
t82
t83
Data Out
t84
High-Z
t85 REGINT
Write Cycle REGD[15:0] Is Input
t86
Read Cycle REGD[15:0] is Output
6-14
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Figure 6.10 Register Interface Timing, Counter Read Cycle (of the Same Counter)
1 REGCLK t81 REGCSn t82 2 6 1 3
REGWRn t81 REGRDn t81 REGAD[15:0] t84 REGD[15:0]
High-Z 1st Counter Address
t82
t84
2nd Counter Address
t83 t84
Not Valid
1st 16 Bits of Counter Result
t83
Not Valid
t84
2nd 16 Bits of Counter Result
High-Z
AC Electrical Characteristics
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-15
Figure 6.11 Register Interface Timing, Counter Read Cycle (Between Different Counters)
t87 REGCLK t81 REGCSn t82 t81 t82
REGWRn t81 REGRDn t81 REGAD[15:0]
Counter Address A
t82
t81
t82
t82
t81
Counter Address B
t82
t84 REGD[15:0]
High-Z 16 Bits of Not Valid Counter Results
t84
Hi-Z
t84
Not Valid 16 Bits of Counter Results
t84
High-Z
t83 Note: No burst reading,
t83
6-16
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6.4 8101/8104 Pinouts and Pin Listings
Figure 6.12 shows the pinout and Table 6.9 lists the pins for the 8101 and Figure 6.13 shows the pinout and Table 6.10 lists the pins for the 8104.
8101/8104 Pinouts and Pin Listings
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-17
Figure 6.12 8101 208-Pin PQFP Pinout
VCC RXEOF RXSOF RXBE3 RXBE2 RXBE1 RXBE0 GND RXD0 RXD1 RXD2 RXD3 GND RXD4 RXD5 VCC VCC RXD6 RXD7 GND RXD8 RXD9 RXD10 RXD11 GND RXD12 RXD13 VCC RXD14 RXD15 GND RXD16 RXD17 RXD18 RXD19 GND RXD20 RXD21 VCC RXD22 RXD23 GND RXD24 RXD25 RXD26 RXD27 GND RXD28 RXD29 VCC RXD30 RXD31 RXENn RXOEn GND VCC VCC VCC RESERVED VCC VCC TAP VCC TEST SD GND RX0 RX1 RX2 RX3 RX4 GND RX5 RX6 RX7 RX8 RX9 RBC0 GND RBC1 LCK_REFn VCC EN_CDET TBC GND EWRAP TX9 GND TX8 TX7 GND TX6 TX5 GND TX4 VCC TX3 GND TX2 TX1 GND TX0 GND TCLK
208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157
6-18
VCC LINKn REGA0 REGA1 REGA2 REGA3 GND REGA4 REGA5 REGA6 REGA7 REGINT REGWRn REGRDn GND REGCLK REGD15 VCC REGD14 REGD13 REGD12 GND REGD11 REGD10 REGD9 REGD8 GND REGD7 VCC REGD6 REGD5 REGD4 GND REGD3 REGD2 REGD1 REGD0 GND GND REGCSn RESERVED RESETn FCNTRL TXD31 VCC TXD30 TXD29 TXD28 TXD27 TXD26 TXD25 TXD24
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
8101 208 PQFP Top View
156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105
RXWM1 RXWM2 RXDC CLR_RXDC RXABORT VCC GND SCLK VCC VCC TXENn TXSOF TXEOF GND TXBE0 TXBE1 TXBE2 TXBE3 GND TXWM1n TXWM2n VCC TXDC CLR_TXDC TXCRCn TXD0 TXD1 TXD2 TXD3 TXD4 TXD5 TXD6 TXD7 GND TXD8 TXD9 TXD10 TXD11 TXD12 TXD13 TXD14 VCC TXD15 TXD16 GND TXD17 TXD18 TXD19 TXD20 TXD21 TXD22 TXD23
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Table 6.9
Signal CLR_RXDC CLR_TXDC EN_CDET EWRAP FCNTRL GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND LCK_REFn LINKn RBC0 RBC1 REGA0 REGA1
8101 208-Pin PQFP Pin List (Alphabetical Listing)
Pin Signal 153 133 31 34 95 3 14 20 27 33 36 39 42 46 49 51 59 67 74 79 85 90 91 112 123 138 143 150 162 167 173 178 184 189 196 201 29 54 26 28 55 56 REGA2 REGA3 REGA4 REGA5 REGA6 REGA7 REGCLK REGCSn REGD0 REGD1 REGD2 REGD3 REGD4 REGD5 REGD6 REGD7 REGD8 REGD9 REGD10 REGD11 REGD12 REGD13 REGD14 REGD15 REGINT REGRDn REGWRn RESERVED RESERVED RESETn RX0 RX1 RX2 RX3 RX4 RX5 RX6 RX7 RX8 RX9 RXABORT RXBE0 Pin 57 58 60 61 62 63 68 92 89 88 87 86 84 83 82 80 78 77 76 75 73 72 71 69 64 66 65 7 93 94 15 16 17 18 19 21 22 23 24 25 152 202 Signal RXBE1 RXBE2 RXBE3 RXD0 RXD1 RXD2 RXD3 RXD4 RXD5 RXD6 RXD7 RXD8 RXD9 RXD10 RXD11 RXD12 RXD13 RXD14 RXD15 RXD16 RXD17 RXD18 RXD19 RXD20 RXD21 RXD22 RXD23 RXD24 RXD25 RXD26 RXD27 RXD28 RXD29 RXD30 RXD31 RXDC RXENn RXEOF RXOEn RXSOF RXWM1 RXWM2 Pin 203 204 205 200 199 198 197 195 194 191 190 188 187 186 185 183 182 180 179 177 176 175 174 172 171 169 168 166 165 164 163 161 160 158 157 154 1 207 2 206 156 155 Signal SCLK SD TAP TBC TCLK TEST TX0 TX1 TX2 TX3 TX4 TX5 TX6 TX7 TX8 TX9 TXBE0 TXBE1 TXBE2 TXBE3 TXCRCn TXD0 TXD1 TXD2 TXD3 TXD4 TXD5 TXD6 TXD7 TXD8 TXD9 TXD10 TXD11 TXD12 TXD13 TXD14 TXD15 TXD16 TXD17 TXD18 TXD19 TXD20 Pin Signal 149 13 10 32 52 12 50 48 47 45 43 41 40 38 37 35 142 141 140 139 132 131 130 129 128 127 126 125 124 122 121 120 119 118 117 116 114 113 111 110 109 108 TXD21 TXD22 TXD23 TXD24 TXD25 TXD26 TXD27 TXD28 TXD29 TXD30 TXD31 TXDC TXENn TXEOF TXSOF TXWM1n TXWM2n VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC Pin 107 106 105 104 103 102 101 100 99 98 96 134 146 144 145 137 136 4 5 6 8 9 11 30 44 53 70 81 97 115 135 147 148 151 159 170 181 193 192 208
8101/8104 Pinouts and Pin Listings
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-19
Figure 6.13 8104 208-Pin BGA Pinout
A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 A16
6-20
RXD0
B4 B5 B6 B7 B8 B9 B10 B11 B12 B13 B14 B15
A1
A2
A3
VCC
RXEOF
RXBE3
RXD4
VCC
RXD7
RXD11
RXD16
RXD20
RXD21
RXD23
RXD27
RXD29
RXD30
B16
RXD31
B1
B2
B3
RXOEn
C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15
RXENn
RXSOF
RXBE2
RXD2
VCC
RXD8
RXD10
RXD15
RXD19
VCC
RXD25
RXD28
VCC
RXWM1
RXWM2
C16
C1
C2
C3
GND
D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14
VCC
VCC
RXBE1
RXD3
VCC
RXD6
RXD12
RXD14
RXD18
RXD22
RXD26
GND
RXABORT
CLR_RXDC
D15 D16
TXDC
D1
D2
D3
VCC
E4 E13 E14
VCC
RESERVED
RXBE0
RXD1
RXD5
RXD9
RXD13
VCC
RXD17
VCC
RXD24
VCC
VCC
E15
SLCK
E16
VCC
E1
E2
E3
VCC
F4 F13
TAP
VCC
TEST
GND
F14
TXEOF
F15
TXSOF
F16
TXENn
F1
F2
F3
SD
G4 G7 G8 G9 G10 G13
RX0
RX1
RX2
TXBE3
G14
TXBE2
G15
TXBE0
G16
TXBE1
Specifications
RX5
H4 H7 H8 H9 H10
G1
G2
G3
RX4
RX3
RX6
GND
GND
GND
GND
H13
TXDC
H14
VCC
TXWM2n
H15
TXWM1n
H16
H1
H2
H3
RX8
J4 J7 J8 J9 J10
RX7
RX9
RBC0
GND
GND
GND
GND
J13
TXD1
J14
TXD0
TXCRCn
J15
CLR_TXDC
J16
J1
J2
J3
RBC1
K4 K7 K8 K9 K10
LCK_REFn
VCC
VCC
GND
GND
GND
GND
K13
TXD2
K14
TXD3
K15
TXD5
K16
TXD4
K1
K2
K3
TBC
L4
EN_CDET
EWRAP
TX9
GND
GND
GND
GND
L13
TXD6
L14
TXD7
L15
GND
L16
TXD8
L1
L2
L3
TX7
M4
TX8
GND
TX6
M13
TXD9
TXD10
M14 M15
TXD11
M16
TXD12
M1
M2
M3
GND
N4 N5 N6 N7 N8 N9
TX5
TX4
VCC
N10 N11 N12 N13
TXD13
N14
TXD14
N15
TXD15
N16
VCC
N1
N2
N3
TX3
P4 P5 P6 P7 P8 P9
TX2
GND
GND
REGWRn
REGD15
REGD12
REGD8
REGD7
REGD5
P10
REGD1
P11
RESERVED
P12 P13
VCC
P14
TXD17
P15
TXD18
P16
TXD16
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
REGA5
R4 R5 R6 R7 R8
P1
P2
P3
TX1
TCLK
REGA3
REGINT
REGCLK
REGD13
REGD9
R9
REGD6
REGD4
R10
REGD0
R11
RESETn
R12 R13
TXD30
R14
TXD19
R15
TXD22
R16
TXD20
R1
R2
R3
TX0
T4 T5 T6 T7 T8
VCC
REGA2
REGA4
REGA6
REGRDn
VCC
REGD11
T9
VCC
REGD2
T10 T11
GND
T12
TXD31
T13
TXD28
T14
TXD27
T15
TXD23
T16
TXD21
T1
T2
T3
LINKn
REGA0
REGA1
GND
REGA7
GND
REGD14
REGD10
VCC
REGD3
REGCSn
FCNTRL
TXD29
TXD26
TXD25
TXD24
Table 6.10
Signal CLR_RXDC CLR_TXDC EN_CDET EWRAP FCNTRL GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND LCK_REFn LINKn RBC0 RBC1 REGA0 REGA1 REGA2 REGA3 REGA4 REGA5
8104 208-Pin BGA Pin List (Alphabetical Listing)
Pin Signal C15 H16 K02 K03 T12 C01 C13 E13 G07 G08 G09 G10 H07 H08 H09 H10 J07 J08 J09 J10 K07 K08 K09 K10 K15 L03 M01 N03 N04 R11 T04 T06 J02 T01 H04 J01 T02 T03 R03 P03 R04 P04 REGA6 REGA7 REGCLK REGCSn REGD0 REGD1 REGD2 REGD3 REGD4 REGD5 REGD6 REGD7 REGD8 REGD9 REGD10 REGD11 REGD12 REGD13 REGD14 REGD15 REGINT REGRDn REGWRn RESERVED RESERVED RESETn RX0 RX1 RX2 RX3 RX4 RX5 RX6 RX7 RX8 RX9 RXABORT RXBE0 RXBE1 RXBE2 RXBE3 RXD0 Pin R05 T05 P06 T11 P11 N11 R10 T10 P10 N10 P09 N09 N08 P08 T08 R08 N07 P07 T07 N06 P05 R06 N05 D03 N12 P12 F02 F03 F04 G02 G01 G03 G04 H02 H01 H03 C14 D04 C04 B04 A03 A04 Signal RXD1 RXD2 RXD3 RXD4 RXD5 RXD6 RXD7 RXD8 RXD9 RXD10 RXD11 RXD12 RXD13 RXD14 RXD15 RXD16 RXD17 RXD18 RXD19 RXD20 RXD21 RXD22 RXD23 RXD24 RXD25 RXD26 RXD27 RXD28 RXD29 RXD30 RXD31 RXDC RXENn RXEOF RXOEn RXSOF RXWM1 RXWM2 SCLK SD TAP TBC Pin D05 B05 C05 A05 D06 C07 A07 B07 D07 B08 A08 C08 D08 C09 B09 A09 D10 C10 B10 A10 A11 C11 A12 D12 B12 C12 A13 B13 A14 A15 A16 C16 B02 A02 B01 B03 B15 B16 D15 F01 E02 K01 Signal TCLK TEST TX0 TX1 TX2 TX3 TX4 TX5 TX6 TX7 TX8 TX9 TXBE0 TXBE1 TXBE2 TXBE3 TXCRCn TXD0 TXD1 TXD2 TXD3 TXD4 TXD5 TXD6 TXD7 TXD8 TXD9 TXD10 TXD11 TXD12 TXD13 TXD14 TXD15 TXD16 TXD17 TXD18 TXD19 TXD20 TXD21 TXD22 TXD23 TXD24 Pin Signal P02 E04 R01 P01 N02 N01 M03 M02 L04 L01 L02 K04 F15 F16 F14 F13 H15 H14 H13 J13 J14 J16 J15 K13 K14 K16 L13 L14 L15 L16 M13 M14 M15 N16 N14 N15 P14 P16 R16 P15 R15 T16 TXD25 TXD26 TXD27 TXD28 TXD29 TXD30 TXD31 TXDC TXENn TXEOF TXSOF TXWM1n TXWM2n VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC Pin T15 T14 R14 R13 T13 P13 R12 G13 E16 E14 E15 G16 G15 A01 A06 B06 B11 B14 C02 C03 C06 D01 D02 D09 D11 D13 D14 D16 E01 E03 G14 J03 J04 M04 M16 N13 R02 R07 R09 T09
8101/8104 Pinouts and Pin Listings
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-21
6.5 Package Mechanical Dimensions
The 8101 Gigabit Ethernet Controller is available in the 208-pin Plastic Quad Flat Pack (PQFP) as shown in Figure 6.14. and the 8104 Ball Grid Array Package as shown in Figure 6.15. Figure 6.14 208-Pin PQFP Mechanical Drawing
30. 60 0.30 28. 00 0.20 0.15 0. 0 - 0. 05 1
30. 60 0.30
28. 00 0.20
0.10 MAX
#208
See Detail A
#1 0. 20 0.10
1. 25 0. 50 4.10 Max.
0. 25 min. 3.40 0. 20
Detail A 1. All Dimensions are in (millimeters) 0. 50 0. 20
0 - 8
Note:
This drawing may not be the latest version.
6-22
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Figure 6.15 208 mini-BGA (HG) Mechanical Drawing
Important:
This drawing may not be the latest version. For board layout and manufacturing, obtain the most recent engineering drawings from your LSI Logic marketing representative by requesting the outline drawing for package code HG.
Package Mechanical Dimensions
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
6-23
6-24
Specifications
Copyright (c) 2000-2001 by LSI Logic Corporation. All rights reserved.
Customer Feedback
We would appreciate your feedback on this document. Please copy the following page, add your comments, and fax it to us at the number shown. If appropriate, please also fax copies of any marked-up pages from this document. Important: Please include your name, phone number, fax number, and company address so that we may contact you directly for clarification or additional information.
Thank you for your help in improving the quality of our documents.
Reader's Comments Fax your comments to: LSI Logic Corporation Technical Publications M/S E-198 Fax: 408.433.4333
Please tell us how you rate this document: 8101/8104 Gigabit Ethernet Controller. Place a check mark in the appropriate blank for each category.
Excellent Good Average Completeness of information Clarity of information Ease of finding information Technical content Usefulness of examples and illustrations Overall manual ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ Fair ____ ____ ____ ____ ____ ____ Poor ____ ____ ____ ____ ____ ____
What could we do to improve this document?
If you found errors in this document, please specify the error and page number. If appropriate, please fax a marked-up copy of the page(s).
Please complete the information below so that we may contact you directly for clarification or additional information. Name Telephone Title Department Company Name Street City, State, Zip Date Fax Mail Stop
Customer Feedback
You can find a current list of our U.S. distributors, international distributors, and sales offices and design resource centers on our web site at http://www.lsilogic.com/contacts/na_salesoffices.html


▲Up To Search▲   

 
Price & Availability of QQ8101

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X